From e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 1 Jul 2014 07:12:04 -0700 Subject: Add #[crate_name] attributes as necessary --- src/libstd/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libstd') diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 0e6f848fce8..928a1088d0e 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -94,7 +94,8 @@ //! all the standard macros, such as `assert!`, `fail!`, `println!`, //! and `format!`, also available to all Rust code. -#![crate_id = "std#0.11.0"] +#![crate_id = "std#0.11.0"] // NOTE: remove after stage0 snap +#![crate_name = "std"] #![unstable] #![comment = "The Rust standard library"] #![license = "MIT/ASL2"] @@ -107,6 +108,7 @@ #![feature(macro_rules, globs, managed_boxes, linkage)] #![feature(default_type_params, phase, lang_items, unsafe_destructor)] +#![allow(unused_attribute)] // NOTE: remove after stage0 // Don't link to std. We are std. #![no_std] -- cgit 1.4.1-3-g733a5