Skip to content

Commit 01439c9

Browse files
committed
print <signal> when ranlib failed without an exit code
1 parent 6d01c6d commit 01439c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/rustc_codegen_gcc/src/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ impl IntoDiagnosticArg for ExitCode {
1111
let ExitCode(exit_code) = self;
1212
match exit_code {
1313
Some(t) => t.into_diagnostic_arg(),
14-
None => DiagnosticArgValue::Str(Cow::Borrowed("None")),
14+
None => DiagnosticArgValue::Str(Cow::Borrowed("<signal>")),
1515
}
1616
}
1717
}

0 commit comments

Comments
 (0)