about summary refs log tree commit diff
path: root/src/libstd/std.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-30 18:31:26 -0700
committerbors <bors@rust-lang.org>2013-10-30 18:31:26 -0700
commitf73a48e9fd6c214976888d8583fb87de55dd05d8 (patch)
tree2b831b569632c393f36c3fccfc20ca8ba4f87b0f /src/libstd/std.rs
parent6789a77fa02b5f7c3f9ca0261a5387a951d23caf (diff)
parent54f4dcd76aafe33c553f6b58fe3e808f055465e1 (diff)
downloadrust-f73a48e9fd6c214976888d8583fb87de55dd05d8.tar.gz
rust-f73a48e9fd6c214976888d8583fb87de55dd05d8.zip
auto merge of #10120 : Kimundi/rust/remove_sys, r=alexcrichton
- `begin_unwind` and `fail!` is now generic over any `T: Any + Send`.
- Every value you fail with gets boxed as an `~Any`.
- Because of implementation issues, `&'static str` and `~str` are still
  handled specially behind the scenes.
- Changed the big macro source string in libsyntax to a raw string
  literal, and enabled doc comments there.
Diffstat (limited to 'src/libstd/std.rs')
-rw-r--r--src/libstd/std.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libstd/std.rs b/src/libstd/std.rs
index 3a96cfb1171..df6c47a8492 100644
--- a/src/libstd/std.rs
+++ b/src/libstd/std.rs
@@ -184,6 +184,8 @@ pub mod os;
 pub mod path;
 pub mod rand;
 pub mod run;
+// NOTE: Remove module after next snapshot
+#[cfg(stage0)]
 pub mod sys;
 pub mod cast;
 pub mod fmt;
@@ -226,7 +228,10 @@ mod std {
     pub use logging;
     pub use option;
     pub use os;
+    pub use rt;
     pub use str;
+    // NOTE: Remove import after next snapshot
+    #[cfg(stage0)]
     pub use sys;
     pub use to_bytes;
     pub use to_str;