pin mimalloc and mimalloc-sys #252
This commit is contained in:
parent
e31e61485d
commit
ec56c45f51
3 changed files with 26 additions and 4 deletions
|
|
@ -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"] }
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// #[global_allocator]
|
||||
// static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
#[global_allocator]
|
||||
static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc;
|
||||
|
||||
mod config;
|
||||
mod constants;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue