]> git.proxmox.com Git - rustc.git/blobdiff - src/test/run-pass/allocator-default.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / run-pass / allocator-default.rs
index be69a4eaddfa1eda51b5831ff3fa87b5216c388f..32ed2b330118d5cd85badd30eb5f4df1192f4da7 100644 (file)
@@ -8,12 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![feature(alloc_jemalloc, alloc_system)]
+#![feature(alloc_jemalloc)]
 
-#[cfg(not(any(windows, target_os = "bitrig", target_os = "openbsd", target_os="emscripten")))]
+#[cfg(any(target_os = "linux", target_os = "macos"))]
 extern crate alloc_jemalloc;
-#[cfg(any(windows, target_os = "bitrig", target_os = "openbsd", target_os="emscripten"))]
-extern crate alloc_system;
 
 fn main() {
     println!("{:?}", Box::new(3));