1
Fork 0

Allow documenting on hermit

This commit is contained in:
Christiaan Dirkx 2021-04-18 04:16:02 +02:00
parent a0ca3f94f0
commit 0caa20ee5d
2 changed files with 0 additions and 3 deletions

View file

@ -13,7 +13,6 @@ pub mod raw;
#[cfg(all( #[cfg(all(
doc, doc,
not(any( not(any(
target_os = "hermit",
all(target_arch = "wasm32", not(target_os = "wasi")), all(target_arch = "wasm32", not(target_os = "wasi")),
all(target_vendor = "fortanix", target_env = "sgx") all(target_vendor = "fortanix", target_env = "sgx")
)) ))
@ -37,7 +36,6 @@ mod doc {
#[cfg(all( #[cfg(all(
doc, doc,
any( any(
target_os = "hermit",
all(target_arch = "wasm32", not(target_os = "wasi")), all(target_arch = "wasm32", not(target_os = "wasi")),
all(target_vendor = "fortanix", target_env = "sgx") all(target_vendor = "fortanix", target_env = "sgx")
) )

View file

@ -57,7 +57,6 @@ cfg_if::cfg_if! {
#[cfg(doc)] #[cfg(doc)]
#[cfg(not(any( #[cfg(not(any(
target_os = "hermit",
all(target_arch = "wasm32", not(target_os = "wasi")), all(target_arch = "wasm32", not(target_os = "wasi")),
all(target_vendor = "fortanix", target_env = "sgx") all(target_vendor = "fortanix", target_env = "sgx")
)))] )))]