about summary refs log tree commit diff
path: root/compiler/rustc_log
AgeCommit message (Collapse)AuthorLines
2023-11-11rustc_log: provide a way to init logging based on the values, not names, of ↵Ralf Jung-11/+34
the env vars
2023-10-30Clean up `rustc_*/Cargo.toml`.Nicholas Nethercote-1/+7
- Sort dependencies and features sections. - Add `tidy` markers to the sorted sections so they stay sorted. - Remove empty `[lib`] sections. - Remove "See more keys..." comments. Excluded files: - rustc_codegen_{cranelift,gcc}, because they're external. - rustc_lexer, because it has external use. - stable_mir, because it has external use.
2023-10-10use env variable to control thread ids in rustc_logSparrowLii-3/+8
2023-10-02Fix a comment.Nicholas Nethercote-2/+2
Compiling any part of the compiler will almost certainly require Nightly.
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-1/+1
2023-07-02Downgrade tracing and synNilstrieb-1/+1
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-04-10Stabilize IsTerminalJosh Triplett-1/+0
closes: https://github.com/rust-lang/rust/issues/98070
2023-04-04write threads info into log only when debuggingSparrowLii-1/+1
2023-02-11Rollup merge of #107895 - matthiaskrgr:cl, r=compiler-errorsMatthias Krüger-1/+1
remove redundant clones
2023-02-10remove redundant clonesMatthias Krüger-1/+1
2023-02-10fix rustc_log doctestRalf Jung-3/+3
2023-02-09avoid duplicating the RUSTC_LOG env var nameRalf Jung-6/+0
2023-02-07Replace a command line flag with an env var to allow tools to initialize the ↵Oli Scherer-17/+4
tracing loggers at their own discretion
2023-01-12Add log-backtrace option to show backtraces along with loggingYuki Omoto-2/+57
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-2/+1
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).
2022-10-16Use IsTerminal in rustc_logJosh Triplett-4/+4
2022-08-18Add diagnostic translation lints to crates that don't emit them5225225-0/+3
2022-05-26clippy::complexity fixesMatthias Krüger-7/+1
clone_on_copy useless_format bind_instead_of_map filter_map_identity useless_conversion map_flatten unnecessary_unwrap
2022-05-11rustc_log: add env var to set verbose entry/exit behaviorRalf Jung-0/+13
2022-01-03Make rustc_log doc test runnableDavid Tolnay-4/+4
2022-01-03Justify why rustc_log existsDavid Tolnay-0/+37
2022-01-03Extract init_env_logger to crateDavid Tolnay-0/+94