about summary refs log tree commit diff
path: root/src/liblibc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-14 15:20:14 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-21 16:16:21 -0800
commit7b73ec469878e428c789b77320b3f8dc8d974d22 (patch)
tree297c1f66334f03df5b0da3f2ea37bfb00a63453e /src/liblibc
parent94ca8a361026d1a622a961e8dc8cacc331ed1ac3 (diff)
downloadrust-7b73ec469878e428c789b77320b3f8dc8d974d22.tar.gz
rust-7b73ec469878e428c789b77320b3f8dc8d974d22.zip
Tie stability attributes to feature gates
Diffstat (limited to 'src/liblibc')
-rw-r--r--src/liblibc/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index fc90a1905a8..ebdf9c95705 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -13,8 +13,8 @@
 #![cfg_attr(not(feature = "cargo-build"),
             unstable(feature = "unnamed_feature", since = "1.0.0"))]
 #![cfg_attr(not(feature = "cargo-build"), staged_api)]
+#![cfg_attr(not(feature = "cargo-build"), feature(unnamed_feature))]
 #![allow(unknown_features)] #![feature(int_uint)]
-#![allow(unstable)]
 #![no_std]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
@@ -74,7 +74,7 @@
 //! one from Berkeley after the lawsuits died down and the CSRG dissolved.
 
 #![allow(bad_style, raw_pointer_derive)]
-
+#![cfg_attr(not(feature = "cargo-build"), feature(unnamed_feature))]
 #[cfg(feature = "cargo-build")] extern crate "std" as core;
 #[cfg(not(feature = "cargo-build"))] extern crate core;