about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/context
AgeCommit message (Collapse)AuthorLines
2025-06-11Use `rustc_thread_pool` instead of `rustc-rayon-core`Celina G. Val-1/+1
2025-03-14Represent diagnostic side effects as dep nodesJohn Kåre Alsaker-14/+2
2024-11-12Delete the `cfg(not(parallel))` serial compilerNoratrieb-10/+0
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-07-29Reformat `use` declarations.Nicholas Nethercote-7/+7
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-07-16Fix unsafe_op_in_unsafe_fn in compilerMichael Goulet-1/+1
2024-03-19Make span_bug panic site useful againOli Scherer-1/+6
2024-02-28Rename `Diagnostic` as `DiagInner`.Nicholas Nethercote-2/+2
I started by changing it to `DiagData`, but that didn't feel right. `DiagInner` felt much better.
2023-05-23Don't leak the function that is called on dropMaybe Waffle-1/+1
2023-05-17Finish move of query.rsJohn Kåre Alsaker-2/+2
2023-05-06introduce `DynSend` and `DynSync` auto traitSparrowLii-2/+2
2023-03-25Update indexmap and rayon cratesJohn Kåre Alsaker-1/+1
2023-03-25Use Rayon's TLV directlyJohn Kåre Alsaker-45/+14
2023-02-09Simplify `with_tlv`.Nicholas Nethercote-3/+2
2023-02-09Simplify `tls::enter_context`.Nicholas Nethercote-2/+2
2023-01-21Use strict provenance APIs in ty::tlsNilstrieb-10/+20
2023-01-21Some ty::tls cleanupsNilstrieb-45/+53
Putting the cfged functions into a seperate module and giving them better names.
2023-01-21Move `ty::tls` to seperate fileNilstrieb-0/+169