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/liblibc/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/liblibc') diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 81e50889952..e0dd57f6ae9 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -9,7 +9,8 @@ // except according to those terms. #![feature(globs)] -#![crate_id = "libc#0.11.0"] +#![crate_id = "libc#0.11.0"] // NOTE: remove after a stage0 snap +#![crate_name = "libc"] #![experimental] #![no_std] // we don't need std, and we can't have std, since it doesn't exist // yet. std depends on us. @@ -18,6 +19,7 @@ html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://doc.rust-lang.org/0.11.0/", html_playground_url = "http://play.rust-lang.org/")] +#![allow(unused_attribute)] // NOTE: remove after stage0 /*! * Bindings for the C standard library and other platform libraries -- cgit 1.4.1-3-g733a5