Skip to main content

exit_thread_safe

Function exit_thread_safe 

Source
pub fn exit_thread_safe(error_code: i32) -> !
Available on crate feature process only.
Expand description

Helper for exiting macros.

This function exists to avoid that all callers of halt! have to explicitly depend on libc.