(layout: core::alloc::Layout)
| 6 | |
| 7 | #[alloc_error_handler] |
| 8 | pub fn handle_alloc_error(layout: core::alloc::Layout) -> ! { |
| 9 | panic!("Heap allocation error, layout = {:?}", layout); |
| 10 | } |
| 11 | |
| 12 | static mut HEAP_SPACE: [u8; KERNEL_HEAP_SIZE] = [0; KERNEL_HEAP_SIZE]; |
| 13 |
nothing calls this directly
no outgoing calls
no test coverage detected