fix: never use jemalloc on windows

This commit is contained in:
monosans
2025-10-26 14:57:57 +03:00
parent 25c0330215
commit 674d227c9c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ static GLOBAL: dhat::Alloc = dhat::Alloc;
#[cfg(all(
feature = "jemalloc",
any(target_arch = "aarch64", target_arch = "x86_64"),
any(target_os = "linux", target_os = "macos", target_os = "windows"),
any(target_os = "linux", target_os = "macos"),
))]
#[global_allocator]
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;