diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-07-01 07:12:04 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-05 12:45:42 -0700 |
| commit | e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a (patch) | |
| tree | 624dc762a18f4ee52f4195e7a788f7c337b46381 /src/librand | |
| parent | c956b70d7bb947e3358739221d2afffc292612cb (diff) | |
| download | rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.tar.gz rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.zip | |
Add #[crate_name] attributes as necessary
Diffstat (limited to 'src/librand')
| -rw-r--r-- | src/librand/lib.rs | 4 |
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] |
