about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorRich Kadel <richkadel@google.com>2020-11-08 11:06:05 -0800
committerRich Kadel <richkadel@google.com>2020-11-11 22:54:58 -0800
commitfe56d267cae200d0722c3304e893c0d3f91d68e8 (patch)
treecc8115b0d79a9196ea8d3394b1e17ddc8bae5832 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentb1277d04db0dc8009037e872a1be7cdc2bd74a43 (diff)
downloadrust-fe56d267cae200d0722c3304e893c0d3f91d68e8.tar.gz
rust-fe56d267cae200d0722c3304e893c0d3f91d68e8.zip
Fix and re-enable two coverage tests on MacOS
Note, in the coverage-reports test, the comment about MacOS was wrong.
The setting is based on config.toml llvm `optimize` setting. There
doesn't appear to be any environment variable I can check, and I
don't think we should add one. Testing the binary itself is a more
reliable way to check anyway.

For the coverage-spanview test, I removed the dependency on sed
altogether, which is much less ugly than trying to work around the
MacOS sed differences.

I tested these changes on Linux, Windows, and Mac.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions