--- Cargo.toml.orig 2025-07-21 02:27:07 UTC +++ Cargo.toml @@ -17,12 +17,7 @@ mimalloc = { version = "0.1", default-features = false [target.'cfg(all(any(not(target_family = "unix"), target_os = "emscripten", allocator = "mimalloc"), not(allocator = "default")))'.dependencies] mimalloc = { version = "0.1", default-features = false } -# Feature background_threads is unsupported on MacOS (https://github.com/jemalloc/jemalloc/issues/843). -[target.'cfg(all(target_family = "unix", not(target_os = "macos"), not(target_os = "emscripten"), not(allocator = "mimalloc"), not(allocator = "default")))'.dependencies] -tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls", "background_threads"] } - [target.'cfg(all(target_family = "unix", target_os = "macos", not(allocator = "mimalloc"), not(allocator = "default")))'.dependencies] -tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls"] } either = { workspace = true } [features]