Macro global_allocator

macro_rules! global_allocator { ... }

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

See also std::alloc::GlobalAlloc.