pub fn exit(code: i32) -> !
Expand description
Terminates the current process with the specified exit code.
This function must be used instead of std::process::exit
as it runs the on_process_exit
.
pub fn exit(code: i32) -> !
Terminates the current process with the specified exit code.
This function must be used instead of std::process::exit
as it runs the on_process_exit
.