about summary refs log tree commit diff
path: root/src/librand
diff options
context:
space:
mode:
Diffstat (limited to 'src/librand')
-rw-r--r--src/librand/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librand/lib.rs b/src/librand/lib.rs
index 593b9785d47..ac0f59225e8 100644
--- a/src/librand/lib.rs
+++ b/src/librand/lib.rs
@@ -16,7 +16,8 @@
 //! is not recommended to use this library directly, but rather the official
 //! interface through `std::rand`.
 
-#![crate_id = "rand#0.11.0"]
+#![crate_id = "rand#0.11.0"] // NOTE: remove after a stage0 snap
+#![crate_name = "rand"]
 #![license = "MIT/ASL2"]
 #![crate_type = "rlib"]
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk.png",
@@ -25,6 +26,7 @@
        html_playground_url = "http://play.rust-lang.org/")]
 
 #![feature(macro_rules, phase, globs)]
+#![allow(unused_attribute)] // NOTE: remove after stage0
 #![no_std]
 #![experimental]