about summary refs log tree commit diff
path: root/src/libstd/sys/unix/mod.rs
diff options
context:
space:
mode:
authorJethro Beekman <jethro@fortanix.com>2019-03-05 15:05:44 -0800
committerJethro Beekman <jethro@fortanix.com>2019-03-21 13:45:35 -0700
commit2079df1c8740dd76d5c28bb8f6193826f6afdec4 (patch)
treed94ea7662096b391c9f168e5fea3f434b6c702c9 /src/libstd/sys/unix/mod.rs
parentf22dca0a1bef4141e75326caacc3cd59f3d5be8e (diff)
downloadrust-2079df1c8740dd76d5c28bb8f6193826f6afdec4.tar.gz
rust-2079df1c8740dd76d5c28bb8f6193826f6afdec4.zip
Unify OsString/OsStr for byte-based implementations
Diffstat (limited to 'src/libstd/sys/unix/mod.rs')
-rw-r--r--src/libstd/sys/unix/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/mod.rs b/src/libstd/sys/unix/mod.rs
index fbe3444311e..90e26449ae2 100644
--- a/src/libstd/sys/unix/mod.rs
+++ b/src/libstd/sys/unix/mod.rs
@@ -47,7 +47,6 @@ mod l4re;
 #[cfg(target_os = "l4re")]
 pub use self::l4re::net;
 pub mod os;
-pub mod os_str;
 pub mod path;
 pub mod pipe;
 pub mod process;
@@ -59,6 +58,8 @@ pub mod thread_local;
 pub mod time;
 pub mod stdio;
 
+pub use crate::sys_common::os_str_bytes as os_str;
+
 #[cfg(not(test))]
 pub fn init() {
     // By default, some platforms will send a *signal* when an EPIPE error