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/liballoc/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/liballoc') diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 26b8ccaf573..3e403d122ac 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -60,7 +60,8 @@ //! by libc malloc/free. The `libc_heap` module is defined to be wired up to //! the system malloc/free. -#![crate_id = "alloc#0.11.0"] +#![crate_id = "alloc#0.11.0"] // NOTE: remove after a stage0 snap +#![crate_name = "alloc"] #![experimental] #![license = "MIT/ASL2"] #![crate_type = "rlib"] @@ -70,6 +71,7 @@ #![no_std] #![feature(lang_items, phase, unsafe_destructor)] +#![allow(unused_attribute)] // NOTE: remove after stage0 #[phase(plugin, link)] extern crate core; -- cgit 1.4.1-3-g733a5