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
This commit is contained in:
parent
f86bcc1543
commit
cd6d9eab5d
148 changed files with 864 additions and 741 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue