about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2017-02-07 22:47:03 -0500
committerJorge Aparicio <japaricious@gmail.com>2017-02-08 18:51:43 -0500
commit78a11f1b97f3ab3fa8c9e225f800489051777bc4 (patch)
treed8b54ae6a03778eb79a793505a777157ff0ceb60
parent1914c8e0aca19b844b14a8b8032bc9376c6d37f0 (diff)
downloadrust-78a11f1b97f3ab3fa8c9e225f800489051777bc4.tar.gz
rust-78a11f1b97f3ab3fa8c9e225f800489051777bc4.zip
fix the sanitizer-dylib test on non x86_64 linux hosts
-rw-r--r--src/test/run-make/sanitizer-dylib/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/sanitizer-dylib/Makefile b/src/test/run-make/sanitizer-dylib/Makefile
index 70a8254a6a6..34fdf3b9709 100644
--- a/src/test/run-make/sanitizer-dylib/Makefile
+++ b/src/test/run-make/sanitizer-dylib/Makefile
@@ -1,4 +1,4 @@
 -include ../tools.mk
 
 all:
-	$(RUSTC) -Z sanitizer=leak --crate-type dylib hello.rs 2>&1 | grep -q 'Only executables and rlibs can be compiled with `-Z sanitizer`'
+	$(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`'