-- Remove tikv-jemalloc dependencies from polars-ooc. -- fast_alloc is kept but only depends on mimalloc; on FreeBSD the system -- allocator is used instead to avoid the broken jemalloc build/runtime issues. --- crates/polars-ooc/Cargo.toml.orig 2026-10-25 14:18:24 UTC +++ crates/polars-ooc/Cargo.toml @@ -27,18 +27,9 @@ mimalloc = { version = "0.1", default-features = false [target.'cfg(any(not(target_family = "unix"), target_os = "emscripten"))'.dependencies] mimalloc = { version = "0.1", default-features = false, optional = true } -# 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")))'.dependencies] -tikv-jemallocator = { version = "0.7.0", features = ["disable_initial_exec_tls", "background_threads"], optional = true } -tikv-jemalloc-sys = { version = "0.7.1", optional = true } - -[target.'cfg(all(target_family = "unix", target_os = "macos"))'.dependencies] -tikv-jemallocator = { version = "0.7.0", features = ["disable_initial_exec_tls"], optional = true } -tikv-jemalloc-sys = { version = "0.7.1", optional = true } - [lints] workspace = true [features] default = ["fast_alloc"] -fast_alloc = ["dep:mimalloc", "dep:tikv-jemallocator", "dep:tikv-jemalloc-sys"] +fast_alloc = ["dep:mimalloc"]