diff options
| author | Jeremy Soller <jackpot51@gmail.com> | 2016-10-27 20:57:49 -0600 |
|---|---|---|
| committer | Jeremy Soller <jackpot51@gmail.com> | 2016-10-27 20:57:49 -0600 |
| commit | 8b09e01fef9912e7c3eef997c40f9f4f91d09e4c (patch) | |
| tree | ab28c5cd1bb526809e12e316ea2b3c2135f72f28 /src/libstd/sys/common/mod.rs | |
| parent | 07436946b6ee6345509b73c6e4dafb38b6a243f1 (diff) | |
| download | rust-8b09e01fef9912e7c3eef997c40f9f4f91d09e4c.tar.gz rust-8b09e01fef9912e7c3eef997c40f9f4f91d09e4c.zip | |
Add redox system
Diffstat (limited to 'src/libstd/sys/common/mod.rs')
| -rw-r--r-- | src/libstd/sys/common/mod.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libstd/sys/common/mod.rs b/src/libstd/sys/common/mod.rs index 2845f895f18..274f3c10d9c 100644 --- a/src/libstd/sys/common/mod.rs +++ b/src/libstd/sys/common/mod.rs @@ -32,7 +32,6 @@ pub mod condvar; pub mod io; pub mod memchr; pub mod mutex; -pub mod net; pub mod poison; pub mod remutex; pub mod rwlock; @@ -42,6 +41,12 @@ pub mod thread_local; pub mod util; pub mod wtf8; +#[cfg(redox)] +pub use sys::net; + +#[cfg(not(redox))] +pub mod net; + #[cfg(any(not(cargobuild), feature = "backtrace"))] #[cfg(any(all(unix, not(any(target_os = "macos", target_os = "ios", target_os = "emscripten"))), all(windows, target_env = "gnu")))] |
