diff options
| author | Jeffrey Yasskin <[email protected]> | 2010-07-18 07:35:25 +0800 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-07-19 17:52:31 -0700 |
| commit | e6fa75a124e4b92d0fc97e611a294cc26b8d0a51 (patch) | |
| tree | 36c413e6679428067fe59c03177a041ece641eee /src | |
| parent | Work around auto-dereference crash in rustboot. (diff) | |
| download | rust-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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile | 1 |
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 \ |