From 7b73ec469878e428c789b77320b3f8dc8d974d22 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 14 Jan 2015 15:20:14 -0800 Subject: Tie stability attributes to feature gates --- src/liblibc/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/liblibc') 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; -- cgit 1.4.1-3-g733a5