Skip to content

Commit 4e74e2f

Browse files
committed
Auto merge of #6618 - ehuss:fix-progress-stdout, r=Eh2406
Fix overlapping progress with stdout. Minor issue introduced in #6615. The progress bar was not being cleared for stdout output (because Shell only does stderr).
2 parents 129e762 + 00b4efe commit 4e74e2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cargo/core/compiler/job_queue.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ impl<'a, 'cfg> JobQueue<'a, 'cfg> {
300300
plan.update(&module_name, &cmd, &filenames)?;
301301
}
302302
Message::Stdout(out) => {
303+
self.progress.clear();
303304
println!("{}", out);
304305
}
305306
Message::Stderr(err) => {

0 commit comments

Comments
 (0)