From e44c2b9bbcb3ca7a7ca9e987b6727fd011f7b91a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 1 Jul 2014 07:12:04 -0700 Subject: Add #[crate_name] attributes as necessary --- src/libfourcc/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libfourcc') diff --git a/src/libfourcc/lib.rs b/src/libfourcc/lib.rs index e854cd3069c..55e55ba7e51 100644 --- a/src/libfourcc/lib.rs +++ b/src/libfourcc/lib.rs @@ -39,7 +39,8 @@ fn main() { */ -#![crate_id = "fourcc#0.11.0"] +#![crate_id = "fourcc#0.11.0"] // NOTE: remove after stage0 +#![crate_name = "fourcc"] #![experimental] #![crate_type = "rlib"] #![crate_type = "dylib"] @@ -47,6 +48,7 @@ fn main() { #![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 #![feature(plugin_registrar, managed_boxes)] -- cgit 1.4.1-3-g733a5