Skip to main content

nova_rt_process_exit

Function nova_rt_process_exit 

Source
#[unsafe(no_mangle)]
pub extern "C" fn nova_rt_process_exit(code: i64) -> !
Expand description

process_exit(code: Int): ends the process with code. std::process::exit runs std’s cleanup, which flushes stdout, and does not join running tasks. The OS truncates code: Unix keeps its low 8 bits.