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/test | |
| 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/test')
0 files changed, 0 insertions, 0 deletions