about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2018-10-02 22:54:32 +0200
committerGitHub <noreply@github.com>2018-10-02 22:54:32 +0200
commit32c1454a87e22431e79d189eaac6b89747460b50 (patch)
tree206a12a67fa788b6c0459f15e0bcd2b90acc3a0c /src/rustllvm/RustWrapper.cpp
parent662f85ea26699abcdec2488867790671b5db1c51 (diff)
parent454b14a511d4a7aadb68152c78c06e1e893a0fb7 (diff)
downloadrust-32c1454a87e22431e79d189eaac6b89747460b50.tar.gz
rust-32c1454a87e22431e79d189eaac6b89747460b50.zip
Rollup merge of #54680 - RalfJung:compile-pass, r=pnkfelix
make run-pass tests with empty main just compile-pass tests

Many run-pass tests have an empty main, so there is not actually any point in running them. This makes them `compile-pass` tests instead, saving some time (generating the binary and then running it).

For now I did this only for `run-pass/issues`; if there is interest I can also do it for the other directories. I used `^\s*fn\s+main\(\s*\)\s*\{\s*\}` as regexp to identify these files.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions