We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78a11f1 commit e180dd5Copy full SHA for e180dd5
src/test/run-make/sanitizer-dylib/Makefile
@@ -1,4 +1,8 @@
1
-include ../tools.mk
2
3
+ifeq ($(TARGET),x86_64-unknown-linux-gnu)
4
all:
- $(RUSTC) -Z sanitizer=leak --crate-type dylib --target x86_64-unknown-linux-gnu hello.rs 2>&1 | grep -q 'Only executables and rlibs can be compiled with `-Z sanitizer`'
5
+ $(RUSTC) -Z sanitizer=leak --crate-type dylib --target $(TARGET) hello.rs 2>&1 | grep -q 'Only executables and rlibs can be compiled with `-Z sanitizer`'
6
+else
7
+all:
8
+endif
0 commit comments