Make most of std::rt private

Previously, the entire runtime API surface was publicly exposed, but
that is neither necessary nor desirable. This commit hides most of the
module, using librustrt directly as needed. The arrangement will need to
be revisited when rustrt is pulled into std.

[breaking-change]
This commit is contained in:
Aaron Turon
2014-11-14 16:30:16 -08:00
parent 40c78ab037
commit 6987ad22e4
24 changed files with 64 additions and 81 deletions

View File

@@ -162,7 +162,6 @@ pub use core::result;
pub use core::option;
pub use alloc::boxed;
pub use alloc::rc;
pub use core_collections::slice;
@@ -247,7 +246,7 @@ pub mod fmt;
#[path = "sys/common/mod.rs"] mod sys_common;
mod rt;
pub mod rt;
mod failure;
// A curious inner-module that's not exported that contains the binding