about summary refs log tree commit diff
path: root/src/test/run-pass/allocator-default.rs
diff options
context:
space:
mode:
authorXimin Luo <infinity0@pwned.gg>2017-01-12 21:10:31 +0100
committerXimin Luo <infinity0@pwned.gg>2017-01-12 21:10:31 +0100
commitcadebc7571074e4c17cef267d7269e91fd12ccf8 (patch)
tree273b00e46c6e07ddaa97de376aa424844192679b /src/test/run-pass/allocator-default.rs
parent417953f2386c79f043c345c4db43ce5e06455219 (diff)
Disable jemalloc tests on platforms where it is disabled (closes #38612)
See also #37392
Diffstat (limited to 'src/test/run-pass/allocator-default.rs')
-rw-r--r--src/test/run-pass/allocator-default.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/run-pass/allocator-default.rs b/src/test/run-pass/allocator-default.rs
index 32ed2b33011..0a02e8072b9 100644
--- a/src/test/run-pass/allocator-default.rs
+++ b/src/test/run-pass/allocator-default.rs
@@ -10,7 +10,8 @@
 
 #![feature(alloc_jemalloc)]
 
-#[cfg(any(target_os = "linux", target_os = "macos"))]
+#[cfg(any(all(target_os = "linux", any(target_arch = "x86", target_arch = "x86_64")),
+          target_os = "macos"))]
 extern crate alloc_jemalloc;
 
 fn main() {