1 # needs-sanitizer-support
5 # NOTE the address sanitizer only supports x86_64 linux and macOS
7 ifeq ($(TARGET),x86_64-apple-darwin)
8 EXTRA_RUSTFLAG=-C rpath
10 ifeq ($(TARGET),x86_64-unknown-linux-gnu)
16 $(RUSTC) -Z sanitizer=address --crate-type proc-macro --target $(TARGET) hello.rs 2>&1 | $(CGREP) '-Z sanitizer'