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.
This commit is contained in:
Jeffrey Yasskin 2010-07-18 07:35:25 +08:00 committed by Patrick Walton
parent dff6955bb0
commit e6fa75a124

View file

@ -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 \