| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-01-07 | Avoid naming variables `str` | Josh Triplett | -2/+2 | |
| This renames variables named `str` to other names, to make sure `str` always refers to a type. It's confusing to read code where `str` (or another standard type name) is used as an identifier. It also produces misleading syntax highlighting. | ||||
| 2024-09-22 | Reformat using the new identifier sorting from rustfmt | Michael Goulet | -1/+1 | |
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -4/+3 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-06-12 | Bump tracing-tree and allow rendering lines again | Oli Scherer | -0/+8 | |
| 2024-05-30 | remove tracing tree indent lines | lcnr | -1/+0 | |
| 2024-05-21 | Use Backtrace::force_capture instead of Backtrace::capture in rustc_log | Michael Woerister | -1/+3 | |
| 2024-04-16 | Construct `SourceMap` at the same time as `SessionGlobals`. | Nicholas Nethercote | -1/+1 | |
| Currently `SourceMap` is constructed slightly later than `SessionGlobals`, and inserted. This commit changes things so they are done at the same time. Benefits: - `SessionGlobals::source_map` changes from `Lock<Option<Lrc<SourceMap>>>` to `Option<Lrc<SourceMap>>`. It's still optional, but mutability isn't required because it's initialized at construction. - `set_source_map` is removed, simplifying `run_compiler`, which is good because that's a critical function and it's nice to make it simpler. This requires moving things around a bit, so the necessary inputs are available when `SessionGlobals` is created, in particular the `loader` and `hash_kind`, which are no longer computed by `build_session`. These inputs are captured by the new `SourceMapInputs` type, which is threaded through various places. | ||||
| 2024-03-03 | rustc_log: expose tracing-tree "wraparound" in an env var | Ralf Jung | -1/+18 | |
| 2024-02-06 | Invert diagnostic lints. | Nicholas Nethercote | -3/+0 | |
| That is, change `diagnostic_outside_of_impl` and `untranslatable_diagnostic` from `allow` to `deny`, because more than half of the compiler has be converted to use translated diagnostics. This commit removes more `deny` attributes than it adds `allow` attributes, which proves that this change is warranted. | ||||
| 2023-11-11 | rustc_log: provide a way to init logging based on the values, not names, of ↵ | Ralf Jung | -11/+34 | |
| the env vars | ||||
| 2023-10-10 | use env variable to control thread ids in rustc_log | SparrowLii | -3/+8 | |
| 2023-10-02 | Fix a comment. | Nicholas Nethercote | -2/+2 | |
| Compiling any part of the compiler will almost certainly require Nightly. | ||||
| 2023-07-30 | inline format!() args up to and including rustc_middle | Matthias Krüger | -1/+1 | |
| 2023-04-10 | Stabilize IsTerminal | Josh Triplett | -1/+0 | |
| closes: https://github.com/rust-lang/rust/issues/98070 | ||||
| 2023-04-04 | write threads info into log only when debugging | SparrowLii | -1/+1 | |
| 2023-02-11 | Rollup merge of #107895 - matthiaskrgr:cl, r=compiler-errors | Matthias Krüger | -1/+1 | |
| remove redundant clones | ||||
| 2023-02-10 | remove redundant clones | Matthias Krüger | -1/+1 | |
| 2023-02-10 | fix rustc_log doctest | Ralf Jung | -3/+3 | |
| 2023-02-09 | avoid duplicating the RUSTC_LOG env var name | Ralf Jung | -6/+0 | |
| 2023-02-07 | Replace 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-12 | Add log-backtrace option to show backtraces along with logging | Yuki Omoto | -2/+56 | |
| 2023-01-05 | Fix `uninlined_format_args` for some compiler crates | nils | -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-16 | Use IsTerminal in rustc_log | Josh Triplett | -3/+4 | |
| 2022-08-18 | Add diagnostic translation lints to crates that don't emit them | 5225225 | -0/+3 | |
| 2022-05-26 | clippy::complexity fixes | Matthias Krüger | -7/+1 | |
| clone_on_copy useless_format bind_instead_of_map filter_map_identity useless_conversion map_flatten unnecessary_unwrap | ||||
| 2022-05-11 | rustc_log: add env var to set verbose entry/exit behavior | Ralf Jung | -0/+13 | |
| 2022-01-03 | Make rustc_log doc test runnable | David Tolnay | -1/+1 | |
| 2022-01-03 | Justify why rustc_log exists | David Tolnay | -0/+37 | |
| 2022-01-03 | Extract init_env_logger to crate | David Tolnay | -0/+78 | |
