pub fn exit_code(run_succeeded: bool, fault: Option<&str>) -> i32Expand description
2026-09-25: The process exit status for a run that is ending: a latched
fault gives EXIT_GPU_FAULT whatever the run’s own result, otherwise 0
for success and 1 for failure. main exits through this, so a run that
ended after a fault does not exit 0.