diff options
| author | Christiaan Dirkx <christiaan@dirkx.email> | 2021-06-21 11:44:59 +0200 |
|---|---|---|
| committer | Christiaan Dirkx <christiaan@dirkx.email> | 2021-07-03 03:01:36 +0200 |
| commit | c93cb40b90b5f862bf448136cbe608f43ae0f62f (patch) | |
| tree | 5dc4e6408de2db97d863c62ee9298b24fa0bde53 /library/std/src/sys/wasm/mod.rs | |
| parent | 798baebde1fe77e5a660490ec64e727a5d79970d (diff) | |
| download | rust-c93cb40b90b5f862bf448136cbe608f43ae0f62f.tar.gz rust-c93cb40b90b5f862bf448136cbe608f43ae0f62f.zip | |
Move `os_str_bytes` to `sys::unix` and reuse it on other platforms.
Diffstat (limited to 'library/std/src/sys/wasm/mod.rs')
| -rw-r--r-- | library/std/src/sys/wasm/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/sys/wasm/mod.rs b/library/std/src/sys/wasm/mod.rs index cd701a333f8..c81d653a5e3 100644 --- a/library/std/src/sys/wasm/mod.rs +++ b/library/std/src/sys/wasm/mod.rs @@ -30,6 +30,8 @@ pub mod io; pub mod net; #[path = "../unsupported/os.rs"] pub mod os; +#[path = "../unix/os_str.rs"] +pub mod os_str; #[path = "../unix/path.rs"] pub mod path; #[path = "../unsupported/pipe.rs"] @@ -45,8 +47,6 @@ pub mod thread_local_key; #[path = "../unsupported/time.rs"] pub mod time; -pub use crate::sys_common::os_str_bytes as os_str; - cfg_if::cfg_if! { if #[cfg(target_feature = "atomics")] { #[path = "atomics/condvar.rs"] |
