Auto merge of #45810 - SimonSapin:ac-dc, r=aturon
Disable LLVM assertions on Nightly, enable them in "alt" builds. Per IRC discussion https://mozilla.logbot.info/rust-infra/20171106#c13812170-c13812204 Background: https://internals.rust-lang.org/t/disabling-llvm-assertions-in-nightly-builds/5388/14
This commit is contained in:
commit
b7ccb0a5a7
4 changed files with 9 additions and 7 deletions
|
|
@ -3,8 +3,10 @@
|
|||
all:
|
||||
ifeq ($(TARGET),x86_64-unknown-linux-gnu)
|
||||
ifdef SANITIZER_SUPPORT
|
||||
$(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | grep -q librustc_msan
|
||||
$(TMPDIR)/uninit 2>&1 | grep -q use-of-uninitialized-value
|
||||
$(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | tee $(TMPDIR)/out
|
||||
grep -q librustc_msan $(TMPDIR)/out
|
||||
$(TMPDIR)/uninit 2>&1 | tee $(TMPDIR)/out
|
||||
grep -q use-of-uninitialized-value $(TMPDIR)/out
|
||||
endif
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue