diff options
| author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2022-09-28 19:02:38 -0700 |
|---|---|---|
| committer | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2022-09-28 19:02:38 -0700 |
| commit | 01439c93b8ce1faadb207cd0d5bb3ce6a3cbf1be (patch) | |
| tree | 7d2d06fc94eb051e723f81a8ecf9efe223033b50 /compiler | |
| parent | 6d01c6d9c8851ddfa8d520c03e9ac93ef7f82ce3 (diff) | |
| download | rust-01439c93b8ce1faadb207cd0d5bb3ce6a3cbf1be.tar.gz rust-01439c93b8ce1faadb207cd0d5bb3ce6a3cbf1be.zip | |
print <signal> when ranlib failed without an exit code
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/errors.rs b/compiler/rustc_codegen_gcc/src/errors.rs index 83f4af16612..d7816e395c8 100644 --- a/compiler/rustc_codegen_gcc/src/errors.rs +++ b/compiler/rustc_codegen_gcc/src/errors.rs @@ -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>")), } } } |
