diff --git a/library/std/src/os/mod.rs b/library/std/src/os/mod.rs index 4365966e7289e..07e29ebf3681c 100644 --- a/library/std/src/os/mod.rs +++ b/library/std/src/os/mod.rs @@ -13,7 +13,6 @@ pub mod raw; #[cfg(all( doc, not(any( - target_os = "hermit", all(target_arch = "wasm32", not(target_os = "wasi")), all(target_vendor = "fortanix", target_env = "sgx") )) @@ -37,7 +36,6 @@ mod doc { #[cfg(all( doc, any( - target_os = "hermit", all(target_arch = "wasm32", not(target_os = "wasi")), all(target_vendor = "fortanix", target_env = "sgx") ) diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs index ac217db2eb344..f813587b1b340 100644 --- a/library/std/src/sys/mod.rs +++ b/library/std/src/sys/mod.rs @@ -57,7 +57,6 @@ cfg_if::cfg_if! { #[cfg(doc)] #[cfg(not(any( - target_os = "hermit", all(target_arch = "wasm32", not(target_os = "wasi")), all(target_vendor = "fortanix", target_env = "sgx") )))]