← Quit0 / 0 correct
RustHard1 of 20

How can you make a global allocator like mimalloc or jemalloc the program's allocator?

#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;