pin mimalloc and mimalloc-sys #252

This commit is contained in:
Jun Kurihara 2025-04-04 01:51:55 +09:00
commit ec56c45f51
No known key found for this signature in database
GPG key ID: B184DE07B34AA676
3 changed files with 26 additions and 4 deletions

View file

@ -29,8 +29,9 @@ rpxy-lib = { path = "../rpxy-lib/", default-features = false, features = [
"sticky-cookie",
] }
# TODO: stop using mimalloc doe to compilation failure by musl
# mimalloc = { version = "*", default-features = false }
# TODO: pin mimalloc due to compilation failure by musl
mimalloc = { version = "=0.1.44", default-features = false }
libmimalloc-sys = { version = "=0.1.40" }
anyhow = "1.0.97"
ahash = "0.8.11"
serde = { version = "1.0.219", default-features = false, features = ["derive"] }

View file

@ -1,5 +1,5 @@
// #[global_allocator]
// static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
#[global_allocator]
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
mod config;
mod constants;