Use more concise directives
This commit is contained in:
@@ -39,8 +39,7 @@ pub mod float;
|
|||||||
pub mod int;
|
pub mod int;
|
||||||
|
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
all(target_arch = "wasm32", target_os = "unknown"),
|
all(target_family = "wasm", target_os = "unknown"),
|
||||||
all(target_arch = "wasm64", target_os = "unknown"),
|
|
||||||
all(target_arch = "x86_64", target_os = "uefi"),
|
all(target_arch = "x86_64", target_os = "uefi"),
|
||||||
all(target_arch = "arm", target_os = "none"),
|
all(target_arch = "arm", target_os = "none"),
|
||||||
all(target_vendor = "fortanix", target_env = "sgx")
|
all(target_vendor = "fortanix", target_env = "sgx")
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ macro_rules! no_mangle {
|
|||||||
|
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
all(
|
all(
|
||||||
any(target_arch = "wasm32", target_arch = "wasm64"),
|
target_family = "wasm",
|
||||||
target_os = "unknown",
|
target_os = "unknown",
|
||||||
not(target_env = "wasi")
|
not(target_env = "wasi")
|
||||||
),
|
),
|
||||||
@@ -66,7 +66,7 @@ no_mangle! {
|
|||||||
|
|
||||||
#[cfg(any(
|
#[cfg(any(
|
||||||
all(
|
all(
|
||||||
any(target_arch = "wasm32", target_arch = "wasm64"),
|
target_family = "wasm",
|
||||||
target_os = "unknown",
|
target_os = "unknown",
|
||||||
not(target_env = "wasi")
|
not(target_env = "wasi")
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user