From d4868ee74085c2dc2943ef9407ced2d06e43abf6 Mon Sep 17 00:00:00 2001 From: Brendan Zabarauskas Date: Wed, 24 Apr 2013 22:26:14 +1000 Subject: 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 --- src/libstd/std.rc | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/libstd') 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; -- cgit 1.4.1-3-g733a5