about summary refs log tree commit diff
path: root/src/libstd/std.rc
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2012-12-17 19:31:04 -0800
committerErick Tryzelaar <erick.tryzelaar@gmail.com>2012-12-17 20:00:36 -0800
commit8650c6f683cf43e9ced27e81945c20234d2bb61c (patch)
treebd2e18afb29e2d998bf2a4e55f47c43867026901 /src/libstd/std.rc
parentec9305802ba1bde2d0de34278395379de69f3468 (diff)
downloadrust-8650c6f683cf43e9ced27e81945c20234d2bb61c.tar.gz
rust-8650c6f683cf43e9ced27e81945c20234d2bb61c.zip
Switch from serialization to std::serialize. (snapshot)
Diffstat (limited to 'src/libstd/std.rc')
-rw-r--r--src/libstd/std.rc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/std.rc b/src/libstd/std.rc
index 5ea90253d80..918781cffb5 100644
--- a/src/libstd/std.rc
+++ b/src/libstd/std.rc
@@ -107,14 +107,16 @@ mod unicode;
 
 pub mod test;
 pub mod serialize;
+#[cfg(stage0)]
 pub mod serialization;
 
 // A curious inner-module that's not exported that contains the binding
-// 'std' so that macro-expanded references to std::code and such
+// 'std' so that macro-expanded references to std::serialize and such
 // can be resolved within libcore.
 #[doc(hidden)] // FIXME #3538
 mod std {
     pub use serialize;
+    #[cfg(stage0)]
     pub use serialization;
 }