about summary refs log tree commit diff
path: root/src/librand/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librand/lib.rs')
-rw-r--r--src/librand/lib.rs19
1 files changed, 2 insertions, 17 deletions
diff --git a/src/librand/lib.rs b/src/librand/lib.rs
index 1f7216fc1a3..5a9b949be25 100644
--- a/src/librand/lib.rs
+++ b/src/librand/lib.rs
@@ -28,26 +28,11 @@
 #![no_std]
 #![experimental]
 
-#[cfg(stage0)]
-#[phase(syntax, link)]
-extern crate core;
-
-#[cfg(not(stage0))]
 #[phase(plugin, link)]
 extern crate core;
 
-#[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;
 #[cfg(test)] extern crate native;
 #[cfg(test)] extern crate debug;