about summary refs log tree commit diff
path: root/src/liblibc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2015-01-22 18:22:03 -0800
committerBrian Anderson <banderson@mozilla.com>2015-01-23 13:28:40 -0800
commitcd6d9eab5d75584edfcae4ffdef8b0836db80c1e (patch)
treefff2c174986eaab33f67390d0a114d508966fe68 /src/liblibc
parentf86bcc1543cb053363c5e6818a2ad44877ea8361 (diff)
downloadrust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.tar.gz
rust-cd6d9eab5d75584edfcae4ffdef8b0836db80c1e.zip
Set unstable feature names appropriately
* `core` - for the core crate
* `hash` - hashing
* `io` - io
* `path` - path
* `alloc` - alloc crate
* `rand` - rand crate
* `collections` - collections crate
* `std_misc` - other parts of std
* `test` - test crate
* `rustc_private` - everything else
Diffstat (limited to 'src/liblibc')
-rw-r--r--src/liblibc/lib.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index 73a4214788d..c1de5a627be 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -11,10 +11,10 @@
 #![crate_name = "libc"]
 #![crate_type = "rlib"]
 #![cfg_attr(not(feature = "cargo-build"),
-            unstable(feature = "unnamed_feature"))]
+            unstable(feature = "libc"))]
 #![cfg_attr(not(feature = "cargo-build"), feature(staged_api))]
 #![cfg_attr(not(feature = "cargo-build"), staged_api)]
-#![cfg_attr(not(feature = "cargo-build"), feature(unnamed_feature))]
+#![cfg_attr(not(feature = "cargo-build"), feature(core))]
 #![allow(unknown_features)] #![feature(int_uint)]
 #![no_std]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
@@ -75,7 +75,6 @@
 //! 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;