diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-06-11 18:47:09 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-14 10:28:09 -0700 |
| commit | f20b1293fcce4e120bd4a57226e0817271cd672c (patch) | |
| tree | 1f7f2d9e04093a3473a7057940f715e007128496 /src/liballoc | |
| parent | d64f18c490981f33f33e9c24e1ed1316e63f11fc (diff) | |
| download | rust-f20b1293fcce4e120bd4a57226e0817271cd672c.tar.gz rust-f20b1293fcce4e120bd4a57226e0817271cd672c.zip | |
Register new snapshots
Diffstat (limited to 'src/liballoc')
| -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 |
