mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
Simplify os_str_bytes cfg expression.
This commit is contained in:
@@ -51,14 +51,9 @@ macro_rules! rtunwrap {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user