fix jemalloc cfgs lacking msvc conditions

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-02-02 10:08:30 +00:00
1 parent 4add39d0fe
commit 7ce782ddf4
3 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -38,7 +38,7 @@ pub fn check(config: &Config) -> Result {
));
}
if cfg!(all(feature = "hardened_malloc", feature = "jemalloc")) {
if cfg!(all(feature = "hardened_malloc", feature = "jemalloc", not(target_env = "msvc"))) {
debug_warn!(
"hardened_malloc and jemalloc compile-time features are both enabled, this causes \
jemalloc to be used."