We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0eb293d commit 3d44d3cCopy full SHA for 3d44d3c
src/libstd/sys_common/mod.rs
@@ -51,14 +51,9 @@ pub mod condvar;
51
pub mod fs;
52
pub mod io;
53
pub mod mutex;
54
-#[cfg(any(doc, // see `mod os`, docs are generated for multiple platforms
55
- unix,
56
- target_os = "redox",
57
- target_os = "cloudabi",
58
- target_os = "hermit",
59
- target_arch = "wasm32",
60
- feature = "restricted-std",
61
- 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)))]
62
pub mod os_str_bytes;
63
pub mod poison;
64
pub mod process;
0 commit comments