diff --git a/crates/uv-performance-memory-allocator/Cargo.toml b/crates/uv-performance-memory-allocator/Cargo.toml index 534461f30..50d2a149a 100644 --- a/crates/uv-performance-memory-allocator/Cargo.toml +++ b/crates/uv-performance-memory-allocator/Cargo.toml @@ -8,5 +8,5 @@ publish = false [target.'cfg(all(target_os = "windows"))'.dependencies] mimalloc = { version = "0.1.43" } -[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies] +[target.'cfg(all(not(target_os = "windows"), not(target_os = "openbsd"), not(target_os = "freebsd"), any(target_arch = "x86_64", target_arch = "aarch64", target_arch = "powerpc64")))'.dependencies] tikv-jemallocator = { version = "0.6.0" } diff --git a/crates/uv-performance-memory-allocator/src/lib.rs b/crates/uv-performance-memory-allocator/src/lib.rs index 50226a6b7..03ec650ba 100644 --- a/crates/uv-performance-memory-allocator/src/lib.rs +++ b/crates/uv-performance-memory-allocator/src/lib.rs @@ -8,6 +8,7 @@ static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc; #[cfg(all( not(target_os = "windows"), not(target_os = "openbsd"), + not(target_os = "freebsd"), any( target_arch = "x86_64", target_arch = "aarch64",