mirror of
https://github.com/napi-rs/node-rs.git
synced 2026-10-28 11:04:33 +08:00
fix: disable mimalloc arch optimizations on Linux ARM64 (#1204)
This commit is contained in:
1 parent
bb467e8512
commit
7769109534
1 file changed
+4
@@ -10,3 +10,7 @@ mimalloc-safe = { workspace = true, features = ["skip_collect_on_exit"] }
|
||||
|
||||
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies]
|
||||
mimalloc-safe = { workspace = true, features = ["skip_collect_on_exit", "local_dynamic_tls"] }
|
||||
|
||||
# Keep Linux ARM64 compatible with CPUs without ARMv8.1 LSE atomics.
|
||||
[target.'cfg(all(target_os = "linux", target_arch = "aarch64"))'.dependencies]
|
||||
mimalloc-safe = { workspace = true, features = ["no_opt_arch"] }
|
||||
Reference in new issue
Block a user