Use more concise directives

This commit is contained in:
Alex Crichton
2021-10-28 16:32:30 -07:00
parent b7fb6c594a
commit 9a01750b1b
2 changed files with 3 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ macro_rules! no_mangle {
#[cfg(any(
all(
any(target_arch = "wasm32", target_arch = "wasm64"),
target_family = "wasm",
target_os = "unknown",
not(target_env = "wasi")
),
@@ -66,7 +66,7 @@ no_mangle! {
#[cfg(any(
all(
any(target_arch = "wasm32", target_arch = "wasm64"),
target_family = "wasm",
target_os = "unknown",
not(target_env = "wasi")
),