MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / alloc_error_handler

Function alloc_error_handler

euralios_std/src/memory.rs:14–16  ·  view source on GitHub ↗
(layout: alloc::alloc::Layout)

Source from the content-addressed store, hash-verified

12// Allocator error handler
13#[alloc_error_handler]
14fn alloc_error_handler(layout: alloc::alloc::Layout) -> ! {
15 panic!("allocation error: {:?}", layout)
16}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected