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