diff options
Diffstat (limited to 'src/liballoc/lib.rs')
| -rw-r--r-- | src/liballoc/lib.rs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index fe9fe57bdbd..0d8d25bff20 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -70,25 +70,16 @@ #![no_std] #![feature(phase)] -#[cfg(stage0)] -#[phase(syntax, link)] -extern crate core; - -#[cfg(not(stage0))] #[phase(plugin, link)] extern crate core; - extern crate libc; - // Allow testing this library #[cfg(test)] extern crate debug; #[cfg(test)] extern crate native; -#[cfg(test, stage0)] #[phase(syntax, link)] extern crate std; -#[cfg(test, stage0)] #[phase(syntax, link)] extern crate log; -#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate std; -#[cfg(test, not(stage0))] #[phase(plugin, link)] extern crate log; +#[cfg(test)] #[phase(plugin, link)] extern crate std; +#[cfg(test)] #[phase(plugin, link)] extern crate log; // Heaps provided for low-level allocation strategies |
