#[global_allocator]
🔬This is a nightly-only experimental API. (
prelude_2024
)Expand description
Attribute macro applied to a static to register it as a global allocator.
See also std::alloc::GlobalAlloc
.
#[global_allocator]
prelude_2024
)Attribute macro applied to a static to register it as a global allocator.
See also std::alloc::GlobalAlloc
.