]> git.lizzy.rs Git - rust.git/commitdiff
Add a reason to the libc & rand instability.
authorHuon Wilson <dbau.pp+github@gmail.com>
Fri, 8 May 2015 13:19:06 +0000 (23:19 +1000)
committerHuon Wilson <dbau.pp+github@gmail.com>
Fri, 8 May 2015 13:20:53 +0000 (23:20 +1000)
Many many many people ask in #rust about this libraries, having an
explanatory reason will probably help a lot.

src/liblibc/lib.rs
src/librand/lib.rs

index 4cbc3b4725d3b24477f7147ae4119dd8a1154678..2ebfb852a748f066d813d1ccd5c0a34ea8ba6b28 100644 (file)
@@ -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)]
index 53ea28f0c11d3998a29d22d19ab6ea3f86b71d7f..1359894b4dd72fd6410190b86e4aad67abd0a7f8 100644 (file)
@@ -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)]