diff --git a/Cargo.toml b/Cargo.toml index 9c854d1227c26e..058db6551abe70 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -134,7 +134,10 @@ lsp-server = { version = "0.10.0" } lsp-types = { package = "gen-lsp-types", version = "0.11.0", features = ["url"] } matchit = { version = "0.9.0" } memchr = { version = "2.7.1" } -mimalloc = { version = "0.1.52" } +# mimalloc v3.3.2 crashes on Windows CPUs that do not support POPCNT. +# Fixed in mimalloc v3.4.0: https://github.com/microsoft/mimalloc/issues/1291 +# Keep v2 until an updated Rust crate includes the fix. +mimalloc = { version = "0.1.52", features = ["v2"] } natord = { version = "1.0.9" } notify = { version = "8.0.0" } ordermap = { version = "1.0.0" }