File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -156,13 +156,13 @@ pub fn main() {
156
156
157
157
rustc_driver:: install_ice_hook ( ) ;
158
158
159
- // When using CI artifacts ( with `download_stage1 = true`) , tracing is unconditionally built
159
+ // When using CI artifacts with `download-rustc` , tracing is unconditionally built
160
160
// with `--features=static_max_level_info`, which disables almost all rustdoc logging. To avoid
161
161
// this, compile our own version of `tracing` that logs all levels.
162
162
// NOTE: this compiles both versions of tracing unconditionally, because
163
163
// - The compile time hit is not that bad, especially compared to rustdoc's incremental times, and
164
- // - Otherwise, there's no warning that logging is being ignored when `download_stage1 = true`.
165
- // NOTE: The reason this doesn't show double logging when `download_stage1 = false` and
164
+ // - Otherwise, there's no warning that logging is being ignored when `download-rustc` is enabled
165
+ // NOTE: The reason this doesn't show double logging when `download-rustc = false` and
166
166
// `debug_logging = true` is because all rustc logging goes to its version of tracing (the one
167
167
// in the sysroot), and all of rustdoc's logging goes to its version (the one in Cargo.toml).
168
168
init_logging ( ) ;
You can’t perform that action at this time.
0 commit comments