| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2025-06-11 | Another round of tidy / warning fixes | Celina G. Val | -2/+0 | |
| 2025-06-11 | Use `rustc_thread_pool` instead of `rustc-rayon-core` | Celina G. Val | -1/+1 | |
| 2025-05-01 | Use thread local dep graph encoding | John Kåre Alsaker | -1/+1 | |
| 2025-04-29 | Drop AST on a separate thread and prefetch `hir_crate` | John Kåre Alsaker | -1/+1 | |
| 2025-03-11 | Add `unreachable_pub` to `RUSTC_LINT_FLAGS` for `compiler/` crates. | Nicholas Nethercote | -1/+1 | |
| And fix the new errors in the handful of crates that didn't have a `#![warn(unreachable_pub)]`. | ||||
| 2025-03-10 | Revert "Use workspace lints for crates in `compiler/` #138084" | 许杰友 Jieyou Xu (Joe) | -1/+1 | |
| Revert <https://github.com/rust-lang/rust/pull/138084> to buy time to consider options that avoids breaking downstream usages of cargo on distributed `rustc-src` artifacts, where such cargo invocations fail due to inability to inherit `lints` from workspace root manifest's `workspace.lints` (this is only valid for the source rust-lang/rust workspace, but not really the distributed `rustc-src` artifacts). This breakage was reported in <https://github.com/rust-lang/rust/issues/138304>. This reverts commit 48caf81484b50dca5a5cebb614899a3df81ca898, reversing changes made to c6662879b27f5161e95f39395e3c9513a7b97028. | ||||
| 2025-03-08 | Add `unreachable_pub` to the default lints for `compiler/` crates. | Nicholas Nethercote | -1/+1 | |
| And fix the new errors in the handful of crates that didn't have a `#![warn(unreachable_pub)]`. | ||||
| 2025-03-03 | Tidy imports in `rustc_data_structures::sync` | Zalathar | -27/+30 | |
| 2025-03-03 | Remove some unnecessary aliases from `rustc_data_structures::sync` | Zalathar | -10/+0 | |
| With the removal of `cfg(parallel_compiler)`, these are always shared references and `std::sync::OnceLock`. | ||||
| 2025-02-11 | compiler/rustc_data_structures/src/sync.rs: delete Sync and Send | Askar Safin | -1/+0 | |
| 2025-02-11 | compiler/rustc_data_structures/src/sync.rs: remove atomics, but not AtomicU64! | Askar Safin | -6/+0 | |
| 2025-02-11 | compiler/rustc_data_structures/src/sync.rs: delete Weak | Askar Safin | -2/+1 | |
| 2025-02-11 | compiler/rustc_data_structures/src/sync.rs: delete MappedLockGuard | Askar Safin | -3/+2 | |
| It seems it is left-over after some refactoring | ||||
| 2025-02-11 | compiler/rustc_data_structures/src/sync.rs: remove "impl Clone for RwLock" | Askar Safin | -8/+0 | |
| parking_lot::RwLock doesn't have "impl Clone", so we should not have, either | ||||
| 2025-02-11 | compiler/rustc_data_structures/src/sync.rs: these RwLock methods are never ↵ | Askar Safin | -20/+0 | |
| called, so let's remove them | ||||
| 2025-02-03 | tree-wide: parallel: Fully removed all `Lrc`, replaced with `Arc` | Askar Safin | -2/+1 | |
| 2024-11-12 | Delete the `cfg(not(parallel))` serial compiler | Noratrieb | -237/+45 | |
| Since it's inception a long time ago, the parallel compiler and its cfgs have been a maintenance burden. This was a necessary evil the allow iteration while not degrading performance because of synchronization overhead. But this time is over. Thanks to the amazing work by the parallel working group (and the dyn sync crimes), the parallel compiler has now been fast enough to be shipped by default in nightly for quite a while now. Stable and beta have still been on the serial compiler, because they can't use `-Zthreads` anyways. But this is quite suboptimal: - the maintenance burden still sucks - we're not testing the serial compiler in nightly Because of these reasons, it's time to end it. The serial compiler has served us well in the years since it was split from the parallel one, but it's over now. Let the knight slay one head of the two-headed dragon! | ||||
| 2024-09-26 | Use `&raw` in the compiler | Josh Stone | -1/+1 | |
| Like #130865 did for the standard library, we can use `&raw` in the compiler now that stage0 supports it. Also like the other issue, I did not make any doc or test changes at this time. | ||||
| 2024-07-29 | Reformat `use` declarations. | Nicholas Nethercote | -2/+2 | |
| The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options. | ||||
| 2024-07-01 | rustc_data_structures: fix wrong markdown syntax | Michael Howell | -2/+2 | |
| This didn't produce working footnote links. The unportable markdown lint warned about it. | ||||
| 2024-06-28 | rustc_data_structures: Explicitly check for 64-bit atomics support | John Paul Adrian Glaubitz | -4/+3 | |
| Instead of keeping a list of architectures which have native support for 64-bit atomics, just use #[cfg(target_has_atomic = "64")] and its inverted counterpart to determine whether we need to use portable AtomicU64 on the target architecture. | ||||
| 2024-06-24 | rustc_data_structures: Use portable AtomicU64 on 32-bit SPARC | John Paul Adrian Glaubitz | -3/+3 | |
| While at it, order the list of architectures alphabetically. | ||||
| 2024-05-01 | Mark more entries in rustc_data_structures as no_inline for docs | Mark Rousskov | -0/+6 | |
| This is a workaround for #122758, but it's not clear why 1.79 requires a more extensive amount of no_inline than the previous release. Seems like there's something relatively subtle happening here. | ||||
| 2024-03-20 | collector: recursively traverse 'mentioned' items to evaluate their constants | Ralf Jung | -3/+6 | |
| 2024-02-24 | compiler: use `addr_of!` | Pavel Grigorenko | -1/+1 | |
| 2024-01-18 | Remove `OneThread` | John Kåre Alsaker | -56/+0 | |
| 2024-01-06 | don't reexport atomic::ordering via rustc_data_structures, use std import | klensy | -5/+2 | |
| 2023-11-06 | use portable AtomicU64 for powerPC and MIPS | SparrowLii | -1/+9 | |
| 2023-10-23 | Auto merge of #116849 - oli-obk:error_shenanigans, r=cjgillot | bors | -1/+1 | |
| Avoid a `track_errors` by bubbling up most errors from `check_well_formed` I believe `track_errors` is mostly papering over issues that a sufficiently convoluted query graph can hit. I made this change, while the actual change I want to do is to stop bailing out early on errors, and instead use this new `ErrorGuaranteed` to invoke `check_well_formed` for individual items before doing all the `typeck` logic on them. This works towards resolving https://github.com/rust-lang/rust/issues/97477 and various other ICEs, as well as allowing us to use parallel rustc more (which is currently rather limited/bottlenecked due to the very sequential nature in which we do `rustc_hir_analysis::check_crate`) cc `@SparrowLii` `@Zoxc` for the new `try_par_for_each_in` function | ||||
| 2023-10-20 | Avoid a `track_errors` by bubbling up most errors from `check_well_formed` | Oli Scherer | -1/+1 | |
| 2023-10-19 | Initiate the inner usage of `cfg_match` | Caio | -3/+4 | |
| 2023-09-11 | Rollup merge of #115548 - Zoxc:parallel-extract, r=wesleywiser | Matthias Krüger | -171/+5 | |
| Extract parallel operations in `rustc_data_structures::sync` into a new `parallel` submodule This extracts parallel operations in `rustc_data_structures::sync` into a new `parallel` submodule. This cuts down on the size of the large `cfg_if!` in `sync` and makes it easier to compare between serial and parallel variants. | ||||
| 2023-09-08 | Remove the `LockMode` enum and `dispatch` | John Kåre Alsaker | -1/+1 | |
| 2023-09-08 | Refactor `Lock` implementation | John Kåre Alsaker | -2/+1 | |
| 2023-09-06 | Extract parallel operations in `rustc_data_structures::sync` into a new ↵ | John Kåre Alsaker | -171/+5 | |
| `parallel` submodule | ||||
| 2023-09-02 | Rename `Freeze` to `FreezeLock` | John Kåre Alsaker | -1/+1 | |
| 2023-09-02 | Add `Freeze` type and use it to store `Definitions` | John Kåre Alsaker | -0/+3 | |
| 2023-09-01 | Use `OnceLock` for `SingleCache` | John Kåre Alsaker | -2/+2 | |
| 2023-08-30 | Use a `parallel_guard` function to handle the parallel guard | John Kåre Alsaker | -60/+55 | |
| 2023-08-30 | Use `Mutex` to avoid issue with conditional locks | John Kåre Alsaker | -4/+3 | |
| 2023-08-30 | Add `ParallelGuard` type to handle unwinding in parallel sections | John Kåre Alsaker | -121/+68 | |
| 2023-08-30 | Make parallel! an expression | John Kåre Alsaker | -2/+2 | |
| 2023-08-30 | Use conditional synchronization for Lock | John Kåre Alsaker | -86/+19 | |
| 2023-05-25 | rustc_data_structures: sync and atomic consistency | Michael Howell | -6/+6 | |
| Co-authored-by: @lukas-code | ||||
| 2023-05-25 | rustc_metadata: specialize private_dep flag with `fetch_and` | Michael Howell | -13/+4 | |
| 2023-05-25 | rustc_metadata: use configurable AtomicBool for privateness flag | Michael Howell | -0/+14 | |
| This switches to using a `Cell` for single-threaded rustc. | ||||
| 2023-05-16 | Remove `MetadataRef` type alias | Maybe Waffle | -3/+0 | |
| 2023-05-16 | Merge `MetadataRef` type aliases | Maybe Waffle | -4/+3 | |
| 2023-05-06 | correct literals for dyn thread safe | SparrowLii | -12/+12 | |
| 2023-05-06 | rename relative names in `sync` | SparrowLii | -17/+22 | |
