about summary refs log tree commit diff
path: root/src/liblog/lib.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-01 07:12:04 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-05 12:45:42 -0700
commite44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a (patch)
tree624dc762a18f4ee52f4195e7a788f7c337b46381 /src/liblog/lib.rs
parentc956b70d7bb947e3358739221d2afffc292612cb (diff)
downloadrust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.tar.gz
rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.zip
Add #[crate_name] attributes as necessary
Diffstat (limited to 'src/liblog/lib.rs')
-rw-r--r--src/liblog/lib.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 6216e79fe84..33d1cc87b73 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -105,7 +105,8 @@ if logging is disabled, none of the components of the log will be executed.
 
 */
 
-#![crate_id = "log#0.11.0"]
+#![crate_id = "log#0.11.0"] // NOTE: Remove after stage0
+#![crate_name = "log"]
 #![experimental]
 #![license = "MIT/ASL2"]
 #![crate_type = "rlib"]
@@ -114,7 +115,7 @@ if logging is disabled, none of the components of the log will be executed.
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
-
+#![allow(unused_attribute)] // NOTE: remove after stage0
 #![feature(macro_rules)]
 #![deny(missing_doc)]