Files
rust/compiler/rustc_data_structures/src/sync
LorrensP-2158466 2f3022a932 Preperation work for parallelizing the import resolution loop using par_slice.
Currently it is all still single threaded, but almost everything needed to make the loop use multithreaded code is done in this commit.

For performance reasons we do the resolution now in place instead of recollecting the indeterminate imports ([see benchmark pr](https://github.com/rust-lang/rust/pull/159387) and pr of this commit).

Populating external resolution tables now use `Once` to ensure only 1 thread builds the table and all others wait if they need it, this has no impact on single threaded behaviour.

`Cache(Ref)Cells` are not tackled yet because they are not needed here (and require extra work).
2026-07-18 10:57:47 +02:00
..
…
…
…