os-rust/compiler/rustc_passes
Dylan DPC efdcb4301b
Rollup merge of #82256 - eddyb:time-passes-stderr, r=varkor
Print -Ztime-passes (and misc stats/logs) on stderr, not stdout.

I've tried not to change anything that looked similar to `rustc --print`, where people might use automation, and/or any "bulk" prints, such as dumping an entire Graphviz (`dot`) graph on stdout.

The reason I want `-Ztime-passes` to be on stderr like debug logging is I can get a complete (and correctly interleaved) view just by looking at stderr, which is merely a convenience when running `rustc`/Cargo directly, but even more important when it's nested in a build script, as Cargo will split the build script output into stdout (named `output`) and `stderr`.
2021-02-18 16:57:43 +01:00
..
src Rollup merge of #82256 - eddyb:time-passes-stderr, r=varkor 2021-02-18 16:57:43 +01:00
Cargo.toml Add rustc_lexer as dependency to rustc_passes 2020-12-02 10:42:50 +01:00