cargo_util::process_error

Function is_simple_exit_code

Source
pub fn is_simple_exit_code(code: i32) -> bool
Expand description

Returns true if the given process exit code is something a normal process would exit with.

This helps differentiate from abnormal termination codes, such as segmentation faults or signals.