]> git.lizzy.rs Git - rust.git/commitdiff
fix the sanitizer-dylib test on non x86_64 linux hosts
authorJorge Aparicio <japaricious@gmail.com>
Wed, 8 Feb 2017 03:47:03 +0000 (22:47 -0500)
committerJorge Aparicio <japaricious@gmail.com>
Wed, 8 Feb 2017 23:51:43 +0000 (18:51 -0500)
src/test/run-make/sanitizer-dylib/Makefile

index 70a8254a6a655caf3957f714edbb496667eb7b18..34fdf3b9709d7fdd67f1e569f7d192617d0bd515 100644 (file)
@@ -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`'