Roll back to MiMalloc

This commit is contained in:
Ara Sadoyan
2026-06-04 18:14:22 +02:00
parent 27aca0a3a5
commit 0f09a2e02b
4 changed files with 10 additions and 3 deletions

View File

@@ -3,10 +3,14 @@ mod utils;
mod web;
#[global_allocator]
// static ALLOC: Jemalloc = Jemalloc;
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
// pub static A: CountingAllocator = CountingAllocator;
fn main() {
if std::env::args().any(|a| a == "--version" || a == "-v") {
println!("aralez {}", env!("CARGO_PKG_VERSION"));
std::process::exit(0);
}
web::start::run();
}