Type Alias StackAllocateFn
Source pub type StackAllocateFn = unsafe fn(Layout) -> *mut u8;
Expand description
Function that allocates backing memory for a coroutine Stack with the requested Layout.
Must return either a null pointer on failure or a pointer to at least layout.size()
writable bytes aligned to layout.align().