pub fn commit_current_exit(permit: ExitPermit) -> !Expand description
Commits a prepared scheduler exit and permanently leaves this context.
Any failure after completion became externally visible is a fatal runtime invariant; this function therefore has no recoverable return path.