diff options
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/std.rs | 2 | ||||
| -rw-r--r-- | src/libstd/unstable/intrinsics.rs | 8 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/libstd/std.rs b/src/libstd/std.rs index c27609a590a..8c72e083f88 100644 --- a/src/libstd/std.rs +++ b/src/libstd/std.rs @@ -61,7 +61,7 @@ they contained the following prologue: html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://static.rust-lang.org/doc/master")]; -#[feature(macro_rules, globs, asm)]; +#[feature(macro_rules, globs, asm, managed_boxes)]; // Don't link to std. We are std. #[no_std]; diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index ee44bf4d996..1900d9d5801 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -410,9 +410,7 @@ extern "rust-intrinsic" { pub fn fabsf32(x: f32) -> f32; pub fn fabsf64(x: f64) -> f64; - #[cfg(not(stage0))] pub fn copysignf32(x: f32, y: f32) -> f32; - #[cfg(not(stage0))] pub fn copysignf64(x: f64, y: f64) -> f64; pub fn floorf32(x: f32) -> f32; @@ -424,19 +422,13 @@ extern "rust-intrinsic" { pub fn truncf32(x: f32) -> f32; pub fn truncf64(x: f64) -> f64; - #[cfg(not(stage0))] pub fn rintf32(x: f32) -> f32; - #[cfg(not(stage0))] pub fn rintf64(x: f64) -> f64; - #[cfg(not(stage0))] pub fn nearbyintf32(x: f32) -> f32; - #[cfg(not(stage0))] pub fn nearbyintf64(x: f64) -> f64; - #[cfg(not(stage0))] pub fn roundf32(x: f32) -> f32; - #[cfg(not(stage0))] pub fn roundf64(x: f64) -> f64; pub fn ctpop8(x: i8) -> i8; |
