Allow documenting on hermit
This commit is contained in:
@@ -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")
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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")
|
||||||
)))]
|
)))]
|
||||||
|
|||||||
Reference in New Issue
Block a user