core::prelude::rust_2024

Attribute Macro global_allocator

1.85.0 ยท Source
#[global_allocator]
Expand description

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

See also std::alloc::GlobalAlloc.