1.28.0[][src]Macro core::global_allocator

pub macro global_allocator($item:item) {
    ...
}

Attribute macro applied to a static to register it as a global allocator.

See also std::alloc::GlobalAlloc.