mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
print <signal> when ranlib failed without an exit code
This commit is contained in:
parent
9c67dcfe42
commit
5c30c25f07
@ -11,7 +11,7 @@ impl IntoDiagnosticArg for ExitCode {
|
||||
let ExitCode(exit_code) = self;
|
||||
match exit_code {
|
||||
Some(t) => t.into_diagnostic_arg(),
|
||||
None => DiagnosticArgValue::Str(Cow::Borrowed("None")),
|
||||
None => DiagnosticArgValue::Str(Cow::Borrowed("<signal>")),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user