We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b25abf + 6e9ed8b commit 9e28eb9Copy full SHA for 9e28eb9
compiler/rustc_driver/src/lib.rs
@@ -1288,12 +1288,12 @@ pub fn init_env_logger(env: &str) {
1288
.with_indent_lines(true)
1289
.with_ansi(true)
1290
.with_targets(true)
1291
- .with_thread_ids(true)
1292
- .with_thread_names(true)
1293
.with_wraparound(10)
1294
.with_verbose_exit(true)
1295
.with_verbose_entry(true)
1296
.with_indent_amount(2);
+ #[cfg(parallel_compiler)]
+ let layer = layer.with_thread_ids(true).with_thread_names(true);
1297
1298
use tracing_subscriber::layer::SubscriberExt;
1299
let subscriber = tracing_subscriber::Registry::default().with(filter).with(layer);
0 commit comments