Skip to content

Commit

Permalink
Simplify os_str_bytes cfg expression.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jul 15, 2020
1 parent 0eb293d commit 3d44d3c
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/libstd/sys_common/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,9 @@ pub mod condvar;
pub mod fs;
pub mod io;
pub mod mutex;
#[cfg(any(doc, // see `mod os`, docs are generated for multiple platforms
unix,
target_os = "redox",
target_os = "cloudabi",
target_os = "hermit",
target_arch = "wasm32",
feature = "restricted-std",
all(target_vendor = "fortanix", target_env = "sgx")))]
// `doc` is required because `sys/mod.rs` imports `unix/ext/mod.rs` on Windows
// when generating documentation.
#[cfg(any(doc, not(windows)))]
pub mod os_str_bytes;
pub mod poison;
pub mod process;
Expand Down

0 comments on commit 3d44d3c

Please sign in to comment.