From 884b5a3c801f5aad7d5e74d59aa4d84aa7c0b4d6 Mon Sep 17 00:00:00 2001 From: konsti Date: Sun, 29 Sep 2024 17:49:07 +0200 Subject: [PATCH] No jemalloc on freebsd (#7780) --- crates/uv-performance-memory-allocator/Cargo.toml | 2 +- crates/uv-performance-memory-allocator/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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",