python313Packages.polars: fix build with Rust 1.88.0

K900 55b0d384 0e49a8d5

Changed files
+19
pkgs
development
python-modules
+15
pkgs/development/python-modules/polars/avx512.patch
···
+
diff --git a/crates/polars-compute/src/lib.rs b/crates/polars-compute/src/lib.rs
+
index ebe1ef753..6e1eee897 100644
+
--- a/crates/polars-compute/src/lib.rs
+
+++ b/crates/polars-compute/src/lib.rs
+
@@ -5,6 +5,10 @@
+
all(feature = "simd", target_arch = "x86_64"),
+
feature(stdarch_x86_avx512)
+
)]
+
+#![cfg_attr(
+
+ all(feature = "simd", target_arch = "x86_64"),
+
+ feature(avx512_target_feature)
+
+)]
+
+
use arrow::types::NativeType;
+
+4
pkgs/development/python-modules/polars/default.nix
···
hash = "sha256-OZ7guV/uxa3jGesAh+ubrFjQSNVp5ImfXfPAQxagTj0=";
};
+
patches = [
+
./avx512.patch
+
];
+
# Do not type-check assertions because some of them use unstable features (`is_none_or`)
postPatch = ''
while IFS= read -r -d "" path ; do