]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/sanitizer-leak/Makefile
Rollup merge of #39604 - est31:i128_tests, r=alexcrichton
[rust.git] / src / test / run-make / sanitizer-leak / Makefile
1 -include ../tools.mk
2
3 ifdef SANITIZER_SUPPORT
4 all:
5         $(RUSTC) -C opt-level=1 -g -Z sanitizer=leak -Z print-link-args leak.rs | grep -q librustc_lsan
6         $(TMPDIR)/leak 2>&1 | grep -q 'detected memory leaks'
7 else
8 all:
9
10 endif