Avoid dumping rustc invocations to stdout
These are quite long, usually, and in most cases not interesting. On smaller terminals they can take up more than a full page of output, hiding the error diagnostics emitted.
This commit is contained in:
parent
1e99138078
commit
cc7abc7563
@ -171,7 +171,9 @@ fn main() {
|
||||
// note: everything below here is unreachable. do not put code that
|
||||
// should run on success, after this block.
|
||||
}
|
||||
println!("\nDid not run successfully: {}\n{:?}\n-------------", status, cmd);
|
||||
if verbose > 0 {
|
||||
println!("\nDid not run successfully: {}\n{:?}\n-------------", status, cmd);
|
||||
}
|
||||
|
||||
if let Some(mut on_fail) = on_fail {
|
||||
on_fail.status().expect("Could not run the on_fail command");
|
||||
|
Loading…
Reference in New Issue
Block a user