aboutsummaryrefslogtreecommitdiff
path: root/misc/py-polars/files/patch-crates_polars-python_Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'misc/py-polars/files/patch-crates_polars-python_Cargo.toml')
-rw-r--r--misc/py-polars/files/patch-crates_polars-python_Cargo.toml18
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/py-polars/files/patch-crates_polars-python_Cargo.toml b/misc/py-polars/files/patch-crates_polars-python_Cargo.toml
new file mode 100644
index 000000000000..3a94f80a416d
--- /dev/null
+++ b/misc/py-polars/files/patch-crates_polars-python_Cargo.toml
@@ -0,0 +1,18 @@
+--- crates/polars-python/Cargo.toml.orig 2025-09-09 05:54:25 UTC
++++ crates/polars-python/Cargo.toml
+@@ -54,11 +54,11 @@ mimalloc = { version = "0.1", default-features = false
+ 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")))'.dependencies]
+-tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls", "background_threads"] }
++#[target.'cfg(all(target_family = "unix", not(target_os = "macos"), not(target_os = "emscripten"), not(target_os = "freebsd")))'.dependencies]
++#tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls", "background_threads"] }
+
+-[target.'cfg(all(target_family = "unix", target_os = "macos"))'.dependencies]
+-tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls"] }
++#[target.'cfg(all(target_family = "unix", target_os = "macos"))'.dependencies]
++#tikv-jemallocator = { version = "0.6.0", features = ["disable_initial_exec_tls"] }
+
+ [dependencies.polars]
+ workspace = true