about summary refs log tree commit diff
path: root/src/librustc_tsan
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2018-05-31 19:31:00 +0200
committerSimon Sapin <simon.sapin@exyr.org>2018-06-11 13:48:57 -0700
commitfd6e08a1e6bbccd00e70b23ac72dd9a9a633be30 (patch)
treea35a62fa85928632c6434aea8ee8f701ccfd6cec /src/librustc_tsan
parent999690ce5d43721d1b1c7fdeb9b58748976b10b5 (diff)
downloadrust-fd6e08a1e6bbccd00e70b23ac72dd9a9a633be30.tar.gz
rust-fd6e08a1e6bbccd00e70b23ac72dd9a9a633be30.zip
Remove some '#[feature]' attributes for stabilized features
Diffstat (limited to 'src/librustc_tsan')
-rw-r--r--src/librustc_tsan/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_tsan/lib.rs b/src/librustc_tsan/lib.rs
index 3429e3bda0f..a7aeed76309 100644
--- a/src/librustc_tsan/lib.rs
+++ b/src/librustc_tsan/lib.rs
@@ -10,8 +10,7 @@
 
 #![sanitizer_runtime]
 #![feature(alloc_system)]
-#![feature(allocator_api)]
-#![feature(global_allocator)]
+#![cfg_attr(stage0, feature(global_allocator))]
 #![feature(sanitizer_runtime)]
 #![feature(staged_api)]
 #![no_std]