no_std_compat::prelude::v1

Attribute Macro alloc_error_handler

Source
#[alloc_error_handler]
🔬This is a nightly-only experimental API. (alloc_error_handler)
Expand description

Attribute macro applied to a function to register it as a handler for allocation failure.

See also std::alloc::handle_alloc_error.