about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2016-10-03 22:29:03 +0000
committerBrian Anderson <banderson@mozilla.com>2016-10-03 22:29:03 +0000
commit2e7f796e58962fb0a6034981eba01863c8a29a91 (patch)
tree9134bb29ceadd95ed93f6eff55be84561ff80274 /src/libstd/sys
parent7a26aeca77bcf334747eddb630e3b9475149b7f5 (diff)
downloadrust-2e7f796e58962fb0a6034981eba01863c8a29a91.tar.gz
rust-2e7f796e58962fb0a6034981eba01863c8a29a91.zip
Fix mod declarations on untested platforms
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/unix/env.rs6
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";