Skip to main content

is_global_allocator

Function is_global_allocator 

Source
pub fn is_global_allocator() -> bool
Expand description

Returns whether the global allocator is this crate’s mimalloc, installed directly through MiMalloc or wrapped by another allocator. It checks a probe allocation against mimalloc’s heap region.