about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-10 14:07:47 +0200
committerGitHub <noreply@github.com>2023-10-10 14:07:47 +0200
commit0bc5696dd96708e0cc0447779d7cbdd46cadc2a7 (patch)
tree3e8e50ef0163bd43550b44ac4e51a0a51a1d9f69 /compiler/rustc_codegen_llvm/src
parent5c37696f6026f91a869d51ab555cb0efae488972 (diff)
parent2dcc828863ed8515df3a0efac507535581d162de (diff)
downloadrust-0bc5696dd96708e0cc0447779d7cbdd46cadc2a7.tar.gz
rust-0bc5696dd96708e0cc0447779d7cbdd46cadc2a7.zip
Rollup merge of #116586 - SparrowLii:parallel_log, r=oli-obk
use env variable to control thread ids in rustc_log

Currently, when parallel rustc is enabled, even if the number of threads is 1, the thread ID will be included before all the logs.
E.g.
`WARN rustc_mir_build::thir::pattern::const_to_pat ...`
=>
`2:rustcWARN rustc_mir_build::thir::pattern::const_to_pat ...`
This makes the logs confusing and results in inconsistent UI test results for serial and parallel rustc. Therefore I think we should let users decide whether thread id information is needed through explicit control.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions