From 091ba42d77713ace68cd654c9eabbe5412000cc2 Mon Sep 17 00:00:00 2001
From: Huon Wilson <dbau.pp+github@gmail.com>
Date: Fri, 8 May 2015 23:19:06 +1000
Subject: [PATCH] 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.
---
 src/liblibc/lib.rs | 3 ++-
 src/librand/lib.rs | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs
index 4cbc3b4725d..2ebfb852a74 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)]