aboutsummaryrefslogtreecommitdiffstats
path: root/misc/py-polars/files/patch-crates_polars-python_Cargo.toml
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
committerLexi Winter <ivy@FreeBSD.org>2025-10-05 09:19:31 +0100
commitf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (patch)
treead799ccacfb459b809b02b9c115ed4befb93b4c1 /misc/py-polars/files/patch-crates_polars-python_Cargo.toml
parent0b1510fe1f98f82da6f3481cb6c58957022d9211 (diff)
parentb057c68280a2f2a7b3d1fbac36f7b034e1fdf593 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/main
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