Specify reason for pinned mimalloc

This commit is contained in:
Anyone
2025-05-18 00:51:51 +02:00
parent 0e823f775c
commit a1afe1a444
2 changed files with 6 additions and 0 deletions

View File

@ -64,5 +64,8 @@ prometheus = { workspace = true }
chrono = { workspace = true }
[target.'cfg(windows)'.dependencies]
# Pinned due to a memory leak on Windows occuring in versions 0.1.44
# to 0.1.46 of mimalloc and versions 0.1.40 to 0.1.42 of libmimalloc-sys
# respectively.
mimalloc = "=0.1.43"
libmimalloc-sys = "=0.1.39"

View File

@ -164,6 +164,9 @@ dispatch = "0.2"
winres = "0.1"
[target.'cfg(target_family = "windows")'.dependencies]
# Pinned due to a memory leak on Windows occuring in versions 0.1.44
# to 0.1.46 of mimalloc and versions 0.1.40 to 0.1.42 of libmimalloc-sys
# respectively.
mimalloc = "=0.1.43"
libmimalloc-sys = "=0.1.39"