Skip to main content

stack_limit

Function stack_limit 

Source
pub fn stack_limit(stack_size: u32) -> i32
Expand description

Minimum address the stack pointer can reach (STACK_SEGMENT_END - stack_size). If SP goes below this, we have a stack overflow.