diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-11-10 22:46:32 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-11-11 20:44:07 -0800 |
| commit | 49ee49296b65f3d807142f3326bee71dd7e13290 (patch) | |
| tree | b3380df09c8a10473820969a62f5775832255fda /src/libstd/rt/mod.rs | |
| parent | 8b4683d79d4b74f53808470cd2f98b23a0af9b93 (diff) | |
Move std::rt::io to std::io
Diffstat (limited to 'src/libstd/rt/mod.rs')
| -rw-r--r-- | src/libstd/rt/mod.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index f18b4dc4234..c90aafff20c 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -116,8 +116,10 @@ mod kill; /// The coroutine task scheduler, built on the `io` event loop. pub mod sched; -/// Synchronous I/O. -pub mod io; +#[cfg(stage0)] +pub mod io { + pub use io::stdio; +} /// The EventLoop and internal synchronous I/O interface. pub mod rtio; |
