about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/os/mod.rs2
-rw-r--r--library/std/src/sys/mod.rs1
2 files changed, 0 insertions, 3 deletions
diff --git a/library/std/src/os/mod.rs b/library/std/src/os/mod.rs
index 4365966e728..07e29ebf368 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 ac217db2eb3..f813587b1b3 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")
 )))]