From ad69fa2c27888e217b9e6b4be81bd3acd6a7efb5 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sat, 30 May 2026 13:36:41 +0200 Subject: [PATCH] Always build with mimalloc on windows --- xtask/src/flags.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xtask/src/flags.rs b/xtask/src/flags.rs index e72d8f22e4f0..7e8845a6e98b 100644 --- a/xtask/src/flags.rs +++ b/xtask/src/flags.rs @@ -309,7 +309,7 @@ impl Install { if (self.client || self.proc_macro_server) && !self.server { return None; } - let malloc = if self.mimalloc { + let malloc = if self.mimalloc || cfg!(windows) { Malloc::Mimalloc } else if self.jemalloc { Malloc::Jemalloc