ros666::mm::heap_allocator

Function alloc_error_handler

Source
fn alloc_error_handler(layout: Layout) -> !
Expand description

Rust 语言项 - 分配错误处理函数

当分配失败,例如 Out Of Memory 时会调用该函数