Attribute Macro std::prelude::rust_2024::global_allocator

1.28.0 · source ·
#[global_allocator]
Expand description

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

See also std::alloc::GlobalAlloc.