Skip to content

Commit

Permalink
Allow documenting on hermit
Browse files Browse the repository at this point in the history
  • Loading branch information
CDirkx committed May 3, 2021
1 parent a0ca3f9 commit 0caa20e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions library/std/src/os/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
))
Expand All @@ -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")
)
Expand Down
1 change: 0 additions & 1 deletion library/std/src/sys/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
)))]
Expand Down

0 comments on commit 0caa20e

Please sign in to comment.