4 ms·
You can easily use a custom global allocator in Rust: #[global_allocator] static GLOBAL: MyAllocator = MyAllocator;
by jomohke 6y ago
You can easily use a custom global allocator in Rust:
#[global_allocator]
static GLOBAL: MyAllocator = MyAllocator;