about summary refs log tree commit diff
path: root/src/libsync/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/libsync/lib.rs
parentc956b70d7bb947e3358739221d2afffc292612cb (diff)
downloadrust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.tar.gz
rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.zip
Add #[crate_name] attributes as necessary
Diffstat (limited to 'src/libsync/lib.rs')
-rw-r--r--src/libsync/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsync/lib.rs b/src/libsync/lib.rs
index 4f6d1a261c4..c0d62caaa6b 100644
--- a/src/libsync/lib.rs
+++ b/src/libsync/lib.rs
@@ -17,7 +17,8 @@
 //! use this crate specifically. Instead, its functionality is reexported
 //! through `std::sync`.
 
-#![crate_id = "sync#0.11.0"]
+#![crate_id = "sync#0.11.0"] // NOTE: remove after stage0 snap
+#![crate_name = "sync"]
 #![experimental]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
@@ -30,6 +31,7 @@
 #![feature(phase, globs, macro_rules, unsafe_destructor)]
 #![deny(missing_doc)]
 #![no_std]
+#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[phase(plugin, link)] extern crate core;
 extern crate alloc;