diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-03-02 00:50:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-02 00:50:06 +0100 |
| commit | 22ebb867f747c0832a3065abb333d6533c7f8340 (patch) | |
| tree | e064e4753dad73df9faf5ef6f14fefad04b8afe2 /compiler/rustc_mir/src/transform/coverage/graph.rs | |
| parent | 865cf0c3b69540f236f95e0cd0ecf939f4834b6c (diff) | |
| parent | 6dc99346413292f85cfe572f3ced29242c36e8e7 (diff) | |
| download | rust-22ebb867f747c0832a3065abb333d6533c7f8340.tar.gz rust-22ebb867f747c0832a3065abb333d6533c7f8340.zip | |
Rollup merge of #81932 - jyn514:rustdoc-logging, r=Mark-Simulacrum
Always compile rustdoc with debug logging enabled when `download-rustc` is set Previously, logging at DEBUG or below would always be silenced, because rustc compiles tracing with the `static_max_level_info` feature. That makes sense for release artifacts, but not for developing rustdoc. Instead, this compiles two different versions of tracing: one in the release artifacts, distributed in the sysroot, and a new version compiled by rustdoc. Since `rustc_driver` is always linked to the version of sysroot, this copy/pastes `init_env_logging` into rustdoc. To avoid compiling an unnecessary version of tracing when `download-rustc` isn't set, this adds a new `using-ci-artifacts` feature for rustdoc and passes that feature in bootstrap. Addresses https://github.com/rust-lang/rust/issues/81930. This builds on https://github.com/rust-lang/rust/pull/79540. r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions
