pub fn set_current_frame(frame: *const Frame) -> *const Frame
Set the current thread’s top frame pointer for signal-safe traceback walking. Returns the previous frame pointer so it can be restored on pop.