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

Function alloc_error_handler

kernel/src/lib.rs:118–120  ·  view source on GitHub ↗
(layout: alloc::alloc::Layout)

Source from the content-addressed store, hash-verified

116// Allocator error handler
117#[alloc_error_handler]
118fn alloc_error_handler(layout: alloc::alloc::Layout) -> ! {
119 panic!("allocation error: {:?}", layout)
120}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected