From e6fa75a124e4b92d0fc97e611a294cc26b8d0a51 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Sun, 18 Jul 2010 07:35:25 +0800 Subject: [PATCH] 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. --- src/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 0f43955e08d..791644670a6 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 \