mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Rollup merge of #25211 - huonw:libc, r=cmr
Many many many people ask in #rust about this libraries, having an explanatory reason will probably help a lot.
This commit is contained in:
commit
dd37250674
@ -12,7 +12,8 @@
|
||||
#![cfg_attr(stage0, feature(custom_attribute))]
|
||||
#![crate_name = "libc"]
|
||||
#![crate_type = "rlib"]
|
||||
#![cfg_attr(not(feature = "cargo-build"), unstable(feature = "libc"))]
|
||||
#![cfg_attr(not(feature = "cargo-build"), unstable(feature = "libc",
|
||||
reason = "use `libc` from crates.io"))]
|
||||
#![cfg_attr(not(feature = "cargo-build"), feature(staged_api, core, no_std))]
|
||||
#![cfg_attr(not(feature = "cargo-build"), staged_api)]
|
||||
#![cfg_attr(not(feature = "cargo-build"), no_std)]
|
||||
|
@ -26,7 +26,8 @@
|
||||
html_playground_url = "http://play.rust-lang.org/")]
|
||||
#![no_std]
|
||||
#![staged_api]
|
||||
#![unstable(feature = "rand")]
|
||||
#![unstable(feature = "rand",
|
||||
reason = "use `rand` from crates.io")]
|
||||
#![feature(core)]
|
||||
#![feature(no_std)]
|
||||
#![feature(staged_api)]
|
||||
|
Loading…
Reference in New Issue
Block a user