Description: avoid features irrelevant when linking with system-shared libs
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-04-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/crates/swc_malloc/Cargo.toml
+++ b/crates/swc_malloc/Cargo.toml
@@ -17,10 +17,10 @@
 mimalloc = { version = "0.1.43", features = [] }
 
 [target.'cfg(all(target_os = "linux", not(any(target_family = "wasm", target_env = "musl", all(target_os = "linux", target_env = "gnu", any(target_arch = "aarch64", target_arch = "arm"))))))'.dependencies]
-mimalloc = { version = "0.1.43", features = ["local_dynamic_tls"] }
+mimalloc = { version = "0.1.43", features = [] }
 
 [target.'cfg(all(target_os = "linux", target_env = "gnu", target_arch = "aarch64"))'.dependencies]
-mimalloc = { version = "0.1.43", features = ["local_dynamic_tls"] }
+mimalloc = { version = "0.1.43", features = [] }
 
 [target.'cfg(all(target_os = "linux", target_env = "gnu", target_arch = "arm"))'.dependencies]
 tikv-jemallocator = { version = ">= 0.5, <= 0.6", features = ["disable_initial_exec_tls"] }
