Skip to main content

exit_code

Function exit_code 

Source
pub fn exit_code(
    diagnostics: &[AggregatedDiagnostic],
    io_errors: &[String],
) -> i32
Expand description

Compute the exit code from the diagnostics + io_errors observed. Mirrors the Python CLI’s bitwise OR convention (D6).