about summary refs log tree commit diff
path: root/src/libsemver
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/libsemver
parentc956b70d7bb947e3358739221d2afffc292612cb (diff)
downloadrust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.tar.gz
rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.zip
Add #[crate_name] attributes as necessary
Diffstat (limited to 'src/libsemver')
-rw-r--r--src/libsemver/lib.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libsemver/lib.rs b/src/libsemver/lib.rs
index fc8aa8ac257..31a065a1449 100644
--- a/src/libsemver/lib.rs
+++ b/src/libsemver/lib.rs
@@ -28,7 +28,8 @@
 //! An example version number with all five components is
 //! `0.8.1-rc.3.0+20130922.linux`.
 
-#![crate_id = "semver#0.11.0"]
+#![crate_id = "semver#0.11.0"] // NOTE: remove after stage0
+#![crate_name = "semver"]
 #![experimental]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
@@ -36,6 +37,7 @@
 #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/")]
+#![allow(unused_attribute)] // NOTE: remove after stage0
 
 use std::char;
 use std::cmp;