Skip to content

Commit 78a11f1

Browse files
author
Jorge Aparicio
committed
fix the sanitizer-dylib test on non x86_64 linux hosts
1 parent 1914c8e commit 78a11f1

File tree

1 file changed

+1
-1
lines changed
  • src/test/run-make/sanitizer-dylib

1 file changed

+1
-1
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-include ../tools.mk
22

33
all:
4-
$(RUSTC) -Z sanitizer=leak --crate-type dylib hello.rs 2>&1 | grep -q 'Only executables and rlibs can be compiled with `-Z sanitizer`'
4+
$(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`'

0 commit comments

Comments
 (0)