Skip to content

Commit 0caa20e

Browse files
committed
Allow documenting on hermit
1 parent a0ca3f9 commit 0caa20e

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

library/std/src/os/mod.rs

-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ pub mod raw;
1313
#[cfg(all(
1414
doc,
1515
not(any(
16-
target_os = "hermit",
1716
all(target_arch = "wasm32", not(target_os = "wasi")),
1817
all(target_vendor = "fortanix", target_env = "sgx")
1918
))
@@ -37,7 +36,6 @@ mod doc {
3736
#[cfg(all(
3837
doc,
3938
any(
40-
target_os = "hermit",
4139
all(target_arch = "wasm32", not(target_os = "wasi")),
4240
all(target_vendor = "fortanix", target_env = "sgx")
4341
)

library/std/src/sys/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ cfg_if::cfg_if! {
5757

5858
#[cfg(doc)]
5959
#[cfg(not(any(
60-
target_os = "hermit",
6160
all(target_arch = "wasm32", not(target_os = "wasi")),
6261
all(target_vendor = "fortanix", target_env = "sgx")
6362
)))]

0 commit comments

Comments
 (0)