You can easily use a custom global allocator in Rust:
#[global_allocator]
static GLOBAL: MyAllocator = MyAllocator; #[global_allocator]
static GLOBAL: MyAllocator = MyAllocator;No comments yet.