about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorMark Mansi <markm@cs.wisc.edu>2018-03-16 19:51:49 -0500
committerMark Mansi <markm@cs.wisc.edu>2018-03-26 08:36:50 -0500
commit7ce8191775b44d3773e28d647b5b17ec85508e16 (patch)
tree5deee52a2014042bb5999f0bccb57b7b37ddd3d3 /src/liballoc
parent5e4603f99066eaf2c1cf19ac3afbac9057b1e177 (diff)
downloadrust-7ce8191775b44d3773e28d647b5b17ec85508e16.tar.gz
rust-7ce8191775b44d3773e28d647b5b17ec85508e16.zip
Stabilize i128_type
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/benches/lib.rs2
-rw-r--r--src/liballoc/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/benches/lib.rs b/src/liballoc/benches/lib.rs
index 2de0ffb4b26..09685d1bb40 100644
--- a/src/liballoc/benches/lib.rs
+++ b/src/liballoc/benches/lib.rs
@@ -10,7 +10,7 @@
 
 #![deny(warnings)]
 
-#![feature(i128_type)]
+#![cfg_attr(stage0, feature(i128_type))]
 #![feature(rand)]
 #![feature(repr_simd)]
 #![feature(test)]
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index f914b1a93a9..19d64d8fea9 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -97,7 +97,7 @@
 #![feature(from_ref)]
 #![feature(fundamental)]
 #![feature(generic_param_attrs)]
-#![feature(i128_type)]
+#![cfg_attr(stage0, feature(i128_type))]
 #![feature(iter_rfold)]
 #![feature(lang_items)]
 #![feature(needs_allocator)]