use mimalloc with musl build fix

This commit is contained in:
Scott Lamb 2025-04-04 09:23:10 -07:00
parent 39b6f6c49c
commit 5147a50771
2 changed files with 2 additions and 3 deletions

3
server/Cargo.lock generated
View File

@ -1081,8 +1081,7 @@ checksum = "b5aba8db14291edd000dfcc4d620c7ebfb122c613afb886ca8803fa4e128a20a"
[[package]]
name = "libmimalloc-sys"
version = "0.1.41"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6b20daca3a4ac14dbdc753c5e90fc7b490a48a9131daed3c9a9ced7b2defd37b"
source = "git+https://github.com/scottlamb/mimalloc_rust?branch=musl-fix#39596674eef4cdc69fb102c20f6881466a9fadd3"
dependencies = [
"cc",
"cty",

View File

@ -21,7 +21,7 @@ coded = { git = "https://github.com/scottlamb/coded", rev = "2c97994974a73243d5d
futures = "0.3"
jiff = { workspace = true }
libc = "0.2"
libmimalloc-sys = { version = "0.1.41", features = [
libmimalloc-sys = { git = "https://github.com/scottlamb/mimalloc_rust", branch = "musl-fix", features = [
"override",
"extended",
], optional = true }