fix: disable mimalloc arch optimizations on Linux ARM64 (#1204)

This commit is contained in:
LongYinan authored and GitHub committed 2026-09-10 10:57:29 +08:00
1 parent bb467e8512
commit 7769109534
1 file changed
+4
+4
View File
@@ -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"] }