Skip to content

Commit 1ddf7ee

Browse files
authored
diskio: don't send logging to stdout
This interferes with commands like e.g. `rustup which`, which sometimes receive this on stdout. This looks like logging that probably belongs on stderr instead.
1 parent 7220628 commit 1ddf7ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diskio/threaded.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ impl<'a> Executor for Threaded<'a> {
269269
));
270270
}
271271
if prev_files > 50 {
272-
println!("{} deferred IO operations", prev_files);
272+
eprintln!("{} deferred IO operations", prev_files);
273273
}
274274
let buf: Vec<u8> = vec![0; prev_files];
275275
// Cheap wrap-around correctness check - we have 20k files, more than

0 commit comments

Comments
 (0)