From b6441d084a275ebd7015409ed41f068999c024f0 Mon Sep 17 00:00:00 2001 From: Ritchie Vink Date: Sun, 28 Apr 2024 16:59:39 +0200 Subject: [PATCH] build: Don't import jemalloc (#15942) --- py-polars/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-polars/src/lib.rs b/py-polars/src/lib.rs index 7f93179d0551..4a17331db878 100644 --- a/py-polars/src/lib.rs +++ b/py-polars/src/lib.rs @@ -42,7 +42,7 @@ mod sql; mod to_numpy; mod utils; -#[cfg(all(target_family = "unix", not(use_mimalloc)))] +#[cfg(all(target_family = "unix", not(use_mimalloc), not(default_allocator)))] use jemallocator::Jemalloc; #[cfg(any(not(target_family = "unix"), use_mimalloc))] use mimalloc::MiMalloc;