Skip to main content

alloc_stack

Function alloc_stack 

Source
pub fn alloc_stack() -> *mut u64
Expand description

Allocate a fresh stack buffer and return its base pointer.

The caller takes ownership of the underlying TaggedStack storage via the raw base pointer — the TaggedStack wrapper is intentionally leaked here so the coroutine-native Stack type can be a plain *mut StackValue.