We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8bdb6 commit 7625c79Copy full SHA for 7625c79
src/test/run-make/sanitizer-memory/Makefile
@@ -3,8 +3,10 @@
3
all:
4
ifeq ($(TARGET),x86_64-unknown-linux-gnu)
5
ifdef SANITIZER_SUPPORT
6
- $(RUSTC) -g -Z sanitizer=memory -Z print-link-args uninit.rs | grep -q librustc_msan
7
- $(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
8
+ $(TMPDIR)/uninit 2>&1 | tee $(TMPDIR)/out
9
+ grep -q use-of-uninitialized-value $(TMPDIR)/out
10
endif
11
12
0 commit comments