Attribute Macro no_std_compat2::prelude::v1::alloc_error_handler
source · #[alloc_error_handler]🔬This is a nightly-only experimental API. (
alloc_error_handler)Available on non-crate feature
std only.Expand description
Attribute macro applied to a function to register it as a handler for allocation failure.
See also std::alloc::handle_alloc_error.