Skip to content

Commit e6fa75a

Browse files
jyasskinpcwalton
authored andcommitted
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.
1 parent dff6955 commit e6fa75a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ TEST_XFAILS_LLVM := $(addprefix test/run-pass/, \
386386
acyclic-unwind.rs \
387387
alt-pattern-simple.rs \
388388
alt-tag.rs \
389-
argv.rs \
390389
basic.rs \
391390
bind-obj-ctor.rs \
392391
bind-thunk.rs \

0 commit comments

Comments
 (0)