fix jemalloc cfgs lacking msvc conditions

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-02-01 01:17:28 +00:00
parent 4add39d0fe
commit 7ce782ddf4
3 changed files with 10 additions and 7 deletions

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."