about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-05-17 01:41:52 +0000
committerbors <bors@rust-lang.org>2015-05-17 01:41:52 +0000
commit4f83c4b8513fe77ab27e1f8d07cf5c7d577a1fe2 (patch)
tree9ca10310b5fc8dded8666f4d4b296d6097543873 /src/liballoc/lib.rs
parentc23a9d42ea082830593a73d25821842baf9ccf33 (diff)
parente8403936256c419ad616f4a5bab7908b4a3d6a1b (diff)
downloadrust-4f83c4b8513fe77ab27e1f8d07cf5c7d577a1fe2.tar.gz
rust-4f83c4b8513fe77ab27e1f8d07cf5c7d577a1fe2.zip
Auto merge of #25458 - P1start:arc-dst, r=huonw
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index ac5a5d60cbd..45dcea909f4 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -112,7 +112,14 @@ pub mod boxed;
 mod boxed { pub use std::boxed::{Box, HEAP}; }
 #[cfg(test)]
 mod boxed_test;
+#[cfg(not(stage0))]
 pub mod arc;
+#[cfg(stage0)]
+mod arc_stage0;
+#[cfg(stage0)]
+pub mod arc {
+    pub use arc_stage0::*;
+}
 pub mod rc;
 
 /// Common out-of-memory routine