Skip to content

Commit 7a2379c

Browse files
committed
chore: sync napi cfg on global_allocator
1 parent e3334af commit 7a2379c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

napi/src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#[cfg(all(
22
feature = "allocator",
3-
not(target_arch = "arm"),
4-
not(target_os = "freebsd"),
5-
not(target_family = "wasm")
3+
not(any(target_arch = "arm", target_os = "freebsd", target_family = "wasm"))
64
))]
75
#[global_allocator]
86
static ALLOC: mimalloc_safe::MiMalloc = mimalloc_safe::MiMalloc;

0 commit comments

Comments
 (0)