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/wasi | |
| 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/wasi')
| -rw-r--r-- | library/std/src/sys/wasi/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/std/src/sys/wasi/mod.rs b/library/std/src/sys/wasi/mod.rs index 4af99bfa464..8d62335aae5 100644 --- a/library/std/src/sys/wasi/mod.rs +++ b/library/std/src/sys/wasi/mod.rs @@ -32,7 +32,8 @@ pub mod io; pub mod mutex; pub mod net; pub mod os; -pub use crate::sys_common::os_str_bytes as os_str; +#[path = "../unix/os_str.rs"] +pub mod os_str; #[path = "../unix/path.rs"] pub mod path; #[path = "../unsupported/pipe.rs"] |
