MCPcopy Create free account
hub / github.com/IntegralPilot/wasm_os / alloc

Method alloc

src/allocator.rs:51–53  ·  view source on GitHub ↗
(&self, _layout: Layout)

Source from the content-addressed store, hash-verified

49
50unsafe impl GlobalAlloc for Dummy {
51 unsafe fn alloc(&self, _layout: Layout) -> *mut u8 {
52 null_mut()
53 }
54
55 unsafe fn dealloc(&self, _ptr: *mut u8, _layout: Layout) {
56 panic!("dealloc should be never called")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected