about summary refs log tree commit diff
path: root/src/libtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtime')
-rw-r--r--src/libtime/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libtime/lib.rs b/src/libtime/lib.rs
index 0e4de41959a..873cc7af7b6 100644
--- a/src/libtime/lib.rs
+++ b/src/libtime/lib.rs
@@ -10,7 +10,8 @@
 
 //! Simple time handling.
 
-#![crate_id = "time#0.11.0"]
+#![crate_id = "time#0.11.0"] // NOTE: remove after stage0
+#![crate_name = "time"]
 #![experimental]
 
 #![crate_type = "rlib"]
@@ -21,6 +22,7 @@
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
 #![feature(phase)]
+#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[cfg(test)] extern crate debug;
 #[cfg(test)] #[phase(plugin, link)] extern crate log;