about summary refs log tree commit diff
path: root/src/libstd/std.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-08-08 13:46:40 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-08-28 23:00:46 -0700
commit97f61e7bbeca5c9524126ca75670fc45d1b1a951 (patch)
tree512a4af334395f187b7800b5fd8d5b6358285146 /src/libstd/std.rs
parent578e68047736167239c52fa1aba0347011ff1bc3 (diff)
downloadrust-97f61e7bbeca5c9524126ca75670fc45d1b1a951.tar.gz
rust-97f61e7bbeca5c9524126ca75670fc45d1b1a951.zip
Remove @io::Writer from sys/repr/reflect
At the same time, this updates the TyVisitor to use a mutable self because it's
probably going to be mutating state as it goes along anyway.
Diffstat (limited to 'src/libstd/std.rs')
-rw-r--r--src/libstd/std.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstd/std.rs b/src/libstd/std.rs
index ad3e4368daa..fe20b877799 100644
--- a/src/libstd/std.rs
+++ b/src/libstd/std.rs
@@ -179,8 +179,14 @@ pub mod run;
 pub mod sys;
 pub mod cast;
 pub mod fmt;
+#[cfg(stage0)] #[path = "repr_stage0.rs"]
+pub mod repr;
+#[cfg(not(stage0))]
 pub mod repr;
 pub mod cleanup;
+#[cfg(stage0)] #[path = "reflect_stage0.rs"]
+pub mod reflect;
+#[cfg(not(stage0))]
 pub mod reflect;
 pub mod condition;
 pub mod logging;