diff options
| author | Ellis Hoag <ellis.sparky.hoag@gmail.com> | 2022-09-28 19:02:38 -0700 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2023-02-28 19:13:19 -0500 |
| commit | 5c30c25f07d1144ff1945e4ef1ee56aefd53bc9d (patch) | |
| tree | 464d340360be602bb1c10421c96ad5ee1e16235d /src | |
| parent | 9c67dcfe423cb08873a3c9cde1190ed9a607381a (diff) | |
| download | rust-5c30c25f07d1144ff1945e4ef1ee56aefd53bc9d.tar.gz rust-5c30c25f07d1144ff1945e4ef1ee56aefd53bc9d.zip | |
print <signal> when ranlib failed without an exit code
Diffstat (limited to 'src')
| -rw-r--r-- | src/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs index 83f4af16612..d7816e395c8 100644 --- a/src/errors.rs +++ b/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>")), } } } |
