diff options
| author | Eduard-Mihai Burtescu <eddyb@lyken.rs> | 2021-02-18 14:13:38 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <eddyb@lyken.rs> | 2021-02-18 14:13:38 +0200 |
| commit | 6165d1cc72f8af55b3ef16ad81273b80876f9518 (patch) | |
| tree | 0baf5b5db99a2755d3e7fb1b654fcedec1e4aa7c /compiler/rustc_data_structures | |
| parent | 25a2c13e9d19c18d5f3c2656e3d2dda086cb023b (diff) | |
| download | rust-6165d1cc72f8af55b3ef16ad81273b80876f9518.tar.gz rust-6165d1cc72f8af55b3ef16ad81273b80876f9518.zip | |
Print -Ztime-passes (and misc stats/logs) on stderr, not stdout.
Diffstat (limited to 'compiler/rustc_data_structures')
| -rw-r--r-- | compiler/rustc_data_structures/src/profiling.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/profiling.rs b/compiler/rustc_data_structures/src/profiling.rs index f0b413c795e..51f851dc946 100644 --- a/compiler/rustc_data_structures/src/profiling.rs +++ b/compiler/rustc_data_structures/src/profiling.rs @@ -608,7 +608,7 @@ pub fn print_time_passes_entry( (None, None) => String::new(), }; - println!("time: {:>7}{}\t{}", duration_to_secs_str(dur), mem_string, what); + eprintln!("time: {:>7}{}\t{}", duration_to_secs_str(dur), mem_string, what); } // Hack up our own formatting for the duration to make it easier for scripts |
