diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-10-27 20:12:40 +0100 |
|---|---|---|
| committer | Marvin Löbel <loebel.marvin@gmail.com> | 2013-10-30 21:19:18 +0100 |
| commit | 54f4dcd76aafe33c553f6b58fe3e808f055465e1 (patch) | |
| tree | 1a217bcb8ea4d3879dd86ece05468334af1754d2 /src/libstd/std.rs | |
| parent | e42e378f32e212997fc42281112b1c9c4c247de0 (diff) | |
| download | rust-54f4dcd76aafe33c553f6b58fe3e808f055465e1.tar.gz rust-54f4dcd76aafe33c553f6b58fe3e808f055465e1.zip | |
Prepared `std::sys` for removal, and made `begin_unwind` simpler
- `begin_unwind` is now generic over any `T: Any + Send`. - Every value you fail with gets boxed as an `~Any`. - Because of implementation details, `&'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.rs | 5 |
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; |
