diff options
| author | William Throwe <wtt6@cornell.edu> | 2015-08-24 11:34:04 -0400 |
|---|---|---|
| committer | William Throwe <wtt6@cornell.edu> | 2015-08-24 20:28:24 -0400 |
| commit | 0112e7bd159968d2ad2e5ea6727564c200b7c35f (patch) | |
| tree | c136db6ea37019146a5a0d3a8b7d16986ec29a52 /src/rustllvm/RustWrapper.cpp | |
| parent | 15d6837a16d727a3d37a703eaedf48e62c260290 (diff) | |
| download | rust-0112e7bd159968d2ad2e5ea6727564c200b7c35f.tar.gz rust-0112e7bd159968d2ad2e5ea6727564c200b7c35f.zip | |
Move main removal to its own pass in --test mode
This handles the case where the #[main] function is buried deeper in the ast than we search for #[test] functions. I'm not sure why one would want to do that, but since it works in standard compilation it should also work for tests.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
