diff options
| author | jyn <github@jyn.dev> | 2023-04-29 06:30:21 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-04-29 06:39:10 -0500 |
| commit | f0be14565fd331e9c96123dda33bf1105f35201c (patch) | |
| tree | 8a710ad3eefd0e4095bf89f74d55489d8a9011eb | |
| parent | 572c0d553f2bd1b934b08fe240310112369a5c76 (diff) | |
| download | rust-f0be14565fd331e9c96123dda33bf1105f35201c.tar.gz rust-f0be14565fd331e9c96123dda33bf1105f35201c.zip | |
drive-by cleanup of rustdoc comment
| -rw-r--r-- | src/librustdoc/lib.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs index c15afca2261..70030e29334 100644 --- a/src/librustdoc/lib.rs +++ b/src/librustdoc/lib.rs @@ -156,13 +156,13 @@ pub fn main() { rustc_driver::install_ice_hook(); - // When using CI artifacts (with `download_stage1 = true`), tracing is unconditionally built + // When using CI artifacts with `download-rustc`, tracing is unconditionally built // with `--features=static_max_level_info`, which disables almost all rustdoc logging. To avoid // this, compile our own version of `tracing` that logs all levels. // NOTE: this compiles both versions of tracing unconditionally, because // - The compile time hit is not that bad, especially compared to rustdoc's incremental times, and - // - Otherwise, there's no warning that logging is being ignored when `download_stage1 = true`. - // NOTE: The reason this doesn't show double logging when `download_stage1 = false` and + // - Otherwise, there's no warning that logging is being ignored when `download-rustc` is enabled + // NOTE: The reason this doesn't show double logging when `download-rustc = false` and // `debug_logging = true` is because all rustc logging goes to its version of tracing (the one // in the sysroot), and all of rustdoc's logging goes to its version (the one in Cargo.toml). init_logging(); |
