about summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-07-14 10:37:28 -0700
committerBrian Anderson <banderson@mozilla.com>2011-07-14 10:37:28 -0700
commitf4beac4a4337296ab356d69ad1ed42f68f461bf1 (patch)
tree6f1073832a7a46e8f131e24acbae7e4c2df50345 /src/rt/rust_upcall.cpp
parentfc67dddb9bb2a32184e425ff99fc9e038c0f8dff (diff)
downloadrust-f4beac4a4337296ab356d69ad1ed42f68f461bf1.tar.gz
rust-f4beac4a4337296ab356d69ad1ed42f68f461bf1.zip
Revert "Allow main to return int"
This reverts commit 8c94d8fd54ba864e6a603ba6d90d41ccfaa62f53.

There's no mechanism to actually return the value from main, so all this does
is allow main -> int to compile. Per #688, the program returns non-zero on
failure, so it's not obvious that this change is appropriate at this time.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
0 files changed, 0 insertions, 0 deletions