aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Yasskin <[email protected]>2010-07-18 07:35:25 +0800
committerPatrick Walton <[email protected]>2010-07-19 17:52:31 -0700
commite6fa75a124e4b92d0fc97e611a294cc26b8d0a51 (patch)
tree36c413e6679428067fe59c03177a041ece641eee
parentWork around auto-dereference crash in rustboot. (diff)
downloadrust-e6fa75a124e4b92d0fc97e611a294cc26b8d0a51.tar.xz
rust-e6fa75a124e4b92d0fc97e611a294cc26b8d0a51.zip
Fix argv.rs under the LLVM compiler.
The call to rust_start was assuming that all rust main() functions have the same signature, but the compiler doesn't actually canonicalize them. So instead just match the C signature of rust_start, and cast.
-rw-r--r--src/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 0f43955e..79164467 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -386,7 +386,6 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
acyclic-unwind.rs \
alt-pattern-simple.rs \
alt-tag.rs \
- argv.rs \
basic.rs \
bind-obj-ctor.rs \
bind-thunk.rs \