mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 17:40:16 +00:00
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).