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:
parent
dff6955bb0
commit
e6fa75a124
1 changed files with 0 additions and 1 deletions
|
@ -386,7 +386,6 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
|
||||||
acyclic-unwind.rs \
|
acyclic-unwind.rs \
|
||||||
alt-pattern-simple.rs \
|
alt-pattern-simple.rs \
|
||||||
alt-tag.rs \
|
alt-tag.rs \
|
||||||
argv.rs \
|
|
||||||
basic.rs \
|
basic.rs \
|
||||||
bind-obj-ctor.rs \
|
bind-obj-ctor.rs \
|
||||||
bind-thunk.rs \
|
bind-thunk.rs \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue