diff options
| author | bors <bors@rust-lang.org> | 2016-10-05 09:14:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-05 09:14:02 -0700 |
| commit | 3210fd5c20ffc6da420eb00e60bdc8704577fd3b (patch) | |
| tree | 937517eaa0ee4a211adbee6a16c068493bb1f18d /src/libstd/sys | |
| parent | fd1ea1330ed6d20dde29cd9efa1a0a63e6729eaf (diff) | |
| parent | 2e7f796e58962fb0a6034981eba01863c8a29a91 (diff) | |
| download | rust-3210fd5c20ffc6da420eb00e60bdc8704577fd3b.tar.gz rust-3210fd5c20ffc6da420eb00e60bdc8704577fd3b.zip | |
Auto merge of #36944 - brson:modos, r=alexcrichton
Fix mod declarations on untested platforms r? @alexcrichton
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/unix/env.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sys/unix/env.rs b/src/libstd/sys/unix/env.rs index 92c4899b3d5..66ff2fec832 100644 --- a/src/libstd/sys/unix/env.rs +++ b/src/libstd/sys/unix/env.rs @@ -140,7 +140,7 @@ pub mod os { } #[cfg(target_os = "haiku")] -mod os { +pub mod os { pub const FAMILY: &'static str = "unix"; pub const OS: &'static str = "haiku"; pub const DLL_PREFIX: &'static str = "lib"; @@ -151,7 +151,7 @@ mod os { } #[cfg(all(target_os = "emscripten", target_arch = "asmjs"))] -mod os { +pub mod os { pub const FAMILY: &'static str = "unix"; pub const OS: &'static str = "emscripten"; pub const DLL_PREFIX: &'static str = "lib"; @@ -162,7 +162,7 @@ mod os { } #[cfg(all(target_os = "emscripten", target_arch = "wasm32"))] -mod os { +pub mod os { pub const FAMILY: &'static str = "unix"; pub const OS: &'static str = "emscripten"; pub const DLL_PREFIX: &'static str = "lib"; |
