]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_lsan/lib.rs
Bump master to 1.21.0
[rust.git] / src / librustc_lsan / lib.rs
index e987b1f335e19c3b711a943e0f1f8e2205f8b9d6..81a09e7e21a642b6d8cefd8d9c177940496ea59b 100644 (file)
@@ -11,8 +11,8 @@
 #![sanitizer_runtime]
 #![feature(sanitizer_runtime)]
 #![feature(alloc_system)]
-#![cfg_attr(not(stage0), feature(allocator_api))]
-#![cfg_attr(not(stage0), feature(global_allocator))]
+#![feature(allocator_api)]
+#![feature(global_allocator)]
 #![feature(staged_api)]
 #![no_std]
 #![unstable(feature = "sanitizer_runtime_lib",
@@ -21,9 +21,7 @@
 
 extern crate alloc_system;
 
-#[cfg(not(stage0))]
 use alloc_system::System;
 
-#[cfg(not(stage0))]
 #[global_allocator]
 static ALLOC: System = System;