diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-07-01 07:12:04 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-05 12:45:42 -0700 |
| commit | e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a (patch) | |
| tree | 624dc762a18f4ee52f4195e7a788f7c337b46381 /src/libgetopts/lib.rs | |
| parent | c956b70d7bb947e3358739221d2afffc292612cb (diff) | |
| download | rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.tar.gz rust-e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a.zip | |
Add #[crate_name] attributes as necessary
Diffstat (limited to 'src/libgetopts/lib.rs')
| -rw-r--r-- | src/libgetopts/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libgetopts/lib.rs b/src/libgetopts/lib.rs index 00e6df9ffbb..790df13c1ff 100644 --- a/src/libgetopts/lib.rs +++ b/src/libgetopts/lib.rs @@ -76,7 +76,8 @@ //! } //! ~~~ -#![crate_id = "getopts#0.11.0"] +#![crate_id = "getopts#0.11.0"] // NOTE: remove after stage0 +#![crate_name = "getopts"] #![experimental] #![crate_type = "rlib"] #![crate_type = "dylib"] @@ -87,6 +88,7 @@ html_playground_url = "http://play.rust-lang.org/")] #![feature(globs, phase)] #![deny(missing_doc)] +#![allow(unused_attribute)] // NOTE: remove after stage0 #[cfg(test)] extern crate debug; #[cfg(test)] #[phase(plugin, link)] extern crate log; |
