Nilstrieb
171be8ce94
Downgrade tracing and syn
...
There's currently a deadlock with tracing when RUSTC_LOG is enabled.
Downgrade tracing-core for now to avoid blocking the other updates.
syns upgrades cause some nontrivial changes in the diagnostics derive tests,
which are best dealt with in another PR.
2023-07-02 21:02:31 +02:00
Josh Triplett
afd45c2e10
Stabilize IsTerminal
...
closes: https://github.com/rust-lang/rust/issues/98070
2023-04-10 17:24:23 +09:00
SparrowLii
8b21f9ee22
write threads info into log only when debugging
2023-04-04 15:31:37 +08:00
Matthias Krüger
4b7b5698a4
Rollup merge of #107895 - matthiaskrgr:cl, r=compiler-errors
...
remove redundant clones
2023-02-11 17:18:44 +01:00
Matthias Krüger
5201bb53bb
remove redundant clones
2023-02-10 18:08:25 +01:00
Ralf Jung
623ed8e481
fix rustc_log doctest
2023-02-10 15:07:55 +01:00
Ralf Jung
569c2fe54b
avoid duplicating the RUSTC_LOG env var name
2023-02-09 11:18:21 +01:00
Oli Scherer
f95b553eb4
Replace a command line flag with an env var to allow tools to initialize the tracing loggers at their own discretion
2023-02-07 16:33:03 +00:00
Yuki Omoto
4e2a3567bc
Add log-backtrace option to show backtraces along with logging
2023-01-12 00:17:48 +09:00
nils
fd7a159710
Fix uninlined_format_args
for some compiler crates
...
Convert all the crates that have had their diagnostic migration
completed (except save_analysis because that will be deleted soon and
apfloat because of the licensing problem).
2023-01-05 19:01:12 +01:00
Josh Triplett
d60ba29b10
Use IsTerminal in rustc_log
2022-10-16 15:10:40 +01:00
5225225
09ea9f0a87
Add diagnostic translation lints to crates that don't emit them
2022-08-18 19:29:02 +01:00
Matthias Krüger
5fc8a8e227
clippy::complexity fixes
...
clone_on_copy
useless_format
bind_instead_of_map
filter_map_identity
useless_conversion
map_flatten
unnecessary_unwrap
2022-05-26 13:14:24 +02:00
Ralf Jung
831bd96967
rustc_log: add env var to set verbose entry/exit behavior
2022-05-11 09:14:31 +02:00
David Tolnay
ffbeebbf7a
Make rustc_log doc test runnable
2022-01-03 22:31:56 -08:00
David Tolnay
dd5ee326bc
Justify why rustc_log exists
2022-01-03 20:25:23 -08:00
David Tolnay
6152d15e7c
Extract init_env_logger to crate
2022-01-03 16:45:21 -08:00