about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2013-04-24 22:26:14 +1000
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2013-04-25 08:20:00 +1000
commitd4868ee74085c2dc2943ef9407ced2d06e43abf6 (patch)
treedfebe34e96baecb1a8c2e1e2fa2f95fcfbe70db7 /src/libstd
parent03932f0b84e94f0ef96e4a6de6cb16ab436311e4 (diff)
downloadrust-d4868ee74085c2dc2943ef9407ced2d06e43abf6.tar.gz
rust-d4868ee74085c2dc2943ef9407ced2d06e43abf6.zip
Use #[cfg(not(stage0))] to exclude items from stage0
As requested on the mailing list: https://mail.mozilla.org/pipermail/rust-dev/2013-April/003713.html
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/std.rc16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/libstd/std.rc b/src/libstd/std.rc
index 7bedef0f841..07c679409cf 100644
--- a/src/libstd/std.rc
+++ b/src/libstd/std.rc
@@ -76,9 +76,7 @@ pub mod rope;
 pub mod smallintmap;
 pub mod sort;
 pub mod dlist;
-#[cfg(stage1)]
-#[cfg(stage2)]
-#[cfg(stage3)]
+#[cfg(not(stage0))]
 pub mod treemap;
 
 // And ... other stuff
@@ -98,19 +96,13 @@ pub mod cmp;
 pub mod base64;
 pub mod rl;
 pub mod workcache;
-#[cfg(stage1)]
-#[cfg(stage2)]
-#[cfg(stage3)]
+#[cfg(not(stage0))]
 #[path="num/bigint.rs"]
 pub mod bigint;
-#[cfg(stage1)]
-#[cfg(stage2)]
-#[cfg(stage3)]
+#[cfg(not(stage0))]
 #[path="num/rational.rs"]
 pub mod rational;
-#[cfg(stage1)]
-#[cfg(stage2)]
-#[cfg(stage3)]
+#[cfg(not(stage0))]
 #[path="num/complex.rs"]
 pub mod complex;
 pub mod stats;