summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2015-05-08 23:19:06 +1000
committerAlex Crichton <alex@alexcrichton.com>2015-05-11 11:21:59 -0700
commit2f0dce3e783f65de5bdb525bfdc757d1bf0533e2 (patch)
treec444fb66a589e9e28b35d906a5d4fe5374f3b1ac /src
parentfd815b7a57b0214362d53b5e4e0dc282c5c26dfd (diff)
downloadrust-2f0dce3e783f65de5bdb525bfdc757d1bf0533e2.tar.gz
rust-2f0dce3e783f65de5bdb525bfdc757d1bf0533e2.zip
Add a reason to the libc & rand instability.
Many many many people ask in #rust about this libraries, having an
explanatory reason will probably help a lot.
Diffstat (limited to 'src')
-rw-r--r--src/liblibc/lib.rs3
-rw-r--r--src/librand/lib.rs3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index 0921c1f6cd1..c8714957584 100644
--- a/src/liblibc/lib.rs
+++ b/src/liblibc/lib.rs
@@ -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)]
diff --git a/src/librand/lib.rs b/src/librand/lib.rs
index 53ea28f0c11..1359894b4dd 100644
--- a/src/librand/lib.rs
+++ b/src/librand/lib.rs
@@ -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)]