fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1-include ../tools.mk 2 3# needs-sanitizer-support 4# only-linux 5# only-x86_64 6# ignore-test 7# FIXME(#46126) ThinLTO for libstd broke this test 8 9all: 10 $(RUSTC) -C opt-level=1 -g -Z sanitizer=leak -Z print-link-args leak.rs | $(CGREP) librustc_lsan 11 $(TMPDIR)/leak 2>&1 | $(CGREP) 'detected memory leaks'