about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-debug.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-20 10:11:10 +0000
committerbors <bors@rust-lang.org>2019-10-20 10:11:10 +0000
commit857a55b8f0a692cb2304ab7c062d9cc74122e516 (patch)
tree241cd13b3888bc4633af5c82c80decd8a84adc68 /src/test/ui/iterators/iter-sum-overflow-debug.rs
parent7bf377f289a4f79829309ed69dccfe33f20b089c (diff)
parenta2feb9c6cc343a25ecca5594acff61bb92ab4e22 (diff)
downloadrust-857a55b8f0a692cb2304ab7c062d9cc74122e516.tar.gz
rust-857a55b8f0a692cb2304ab7c062d9cc74122e516.zip
Auto merge of #65497 - choller:master, r=tmiasko
Avoid injecting sanitizer runtimes into staticlibs (#64629).

This fixes the remaining issue in `creader.rs` and also fixes the expected test failure. I have explicitly turned the `$(CC)` call into a negative check with the `!` to ensure that this command is really failing (if it is not, then either the runtime is attached to the lib or the lib has not been instrumented and both would be an error).

I've also borrowed `program.rs` and the additional `rustc` invocation from @tmiasko 's PR since he pointed out that using `-fsanitize=address` with `$(CC)` for linking could fail if the sanitizer runtimes on the system are incompatible.

With this toolchain I was able to compile Firefox locally without any linker errors. I am still seeing races with Rust in TSan but I assume that is because I did not build with `-Z build-std`.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-debug.rs')
0 files changed, 0 insertions, 0 deletions