diff options
author | Mark Mansi <markm@cs.wisc.edu> | 2018-03-16 19:51:49 -0500 |
---|---|---|
committer | Mark Mansi <markm@cs.wisc.edu> | 2018-03-26 08:36:50 -0500 |
commit | 7ce8191775b44d3773e28d647b5b17ec85508e16 (patch) | |
tree | 5deee52a2014042bb5999f0bccb57b7b37ddd3d3 /src/librustc_apfloat | |
parent | 5e4603f99066eaf2c1cf19ac3afbac9057b1e177 (diff) | |
download | rust-7ce8191775b44d3773e28d647b5b17ec85508e16.tar.gz |
Stabilize i128_type
Diffstat (limited to 'src/librustc_apfloat')
-rw-r--r-- | src/librustc_apfloat/lib.rs | 2 | ||||
-rw-r--r-- | src/librustc_apfloat/tests/ieee.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_apfloat/lib.rs b/src/librustc_apfloat/lib.rs index 565658804b0..2ee7bea8476 100644 --- a/src/librustc_apfloat/lib.rs +++ b/src/librustc_apfloat/lib.rs @@ -46,8 +46,8 @@ #![deny(warnings)] #![forbid(unsafe_code)] -#![feature(i128_type)] #![cfg_attr(stage0, feature(slice_patterns))] +#![cfg_attr(stage0, feature(i128_type))] #![feature(try_from)] // See librustc_cratesio_shim/Cargo.toml for a comment explaining this. diff --git a/src/librustc_apfloat/tests/ieee.rs b/src/librustc_apfloat/tests/ieee.rs index ff46ee79c31..627d79724b2 100644 --- a/src/librustc_apfloat/tests/ieee.rs +++ b/src/librustc_apfloat/tests/ieee.rs @@ -8,7 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(i128_type)] +#![cfg_attr(stage0, feature(i128_type))] #[macro_use] extern crate rustc_apfloat; |