mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 18:15:07 +03:00
Print "Checking/Building ..." message even when --dry-run is passed
This makes it a lot easier to understand what commands will be run without having to parse the `-vv` output, which isn't meant to be user facing.
This commit is contained in:
@@ -1019,10 +1019,12 @@ fn verbose_than(&self, level: usize, msg: &str) {
|
||||
}
|
||||
|
||||
fn info(&self, msg: &str) {
|
||||
if self.config.dry_run() {
|
||||
return;
|
||||
match self.config.dry_run {
|
||||
DryRun::SelfCheck => return,
|
||||
DryRun::Disabled | DryRun::UserSelected => {
|
||||
println!("{}", msg);
|
||||
}
|
||||
}
|
||||
println!("{}", msg);
|
||||
}
|
||||
|
||||
/// Returns the number of parallel jobs that have been configured for this
|
||||
|
||||
Reference in New Issue
Block a user