Resolver: Batched Import Resolution#145108
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Code looks a little better now and should be more correct than the previous commits, but I have yet to find a way to resolve the current test failures. |
This comment has been minimized.
This comment has been minimized.
|
Okey, I did fix |
a3f8ae2 to
4a2a0dc
Compare
This comment has been minimized.
This comment has been minimized.
|
Could you update the tests to make CI green, so I can see the difference? |
|
Moving |
|
I'll create a pr for it. |
|
I am thinking of asking the maintainers of that crate/generator to include those imports, as they know the correct trait to use. Can I ask in t-libs/stdarch? |
Yes, of course |
|
cc @Amanieu, @folkertdev, @sayantn |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
|
@rustbot ready Rebased to keep up to date and added the generator fix to see it on CI. |
|
r=me after addressing the remaining comments. |
Import resolution now happens in 2 phases: 1. We resolve all undetermined and collect their resolutions 2. Write all resolutions to the Resolver state. Repeat this untill we reach a fix point. + Bless tests
… imports the correct traits for `aarch64`. + run the generator to apply change.
|
@bors r=petrochenkov |
|
@LorrensP-2158466: 🔑 Insufficient privileges: not in review users |
|
@bors r+ |
|
cc @rust-lang/lang-docs @rust-lang/fls |
|
Moving ahead of a prioritized but rollup-able PR @bors p=2 |
|
⌛ Testing commit fe7c7a1 with merge 2a0f475... Workflow: https://github.com/rust-lang/rust/actions/runs/27078725841 |
|
yet another PR will msvc stalled @bors yield |
|
Auto build was cancelled. Cancelled workflows: The next pull request likely to be tested is #157558. |
|
@bors try jobs=dist-i686-msvc |
This comment has been minimized.
This comment has been minimized.
|
rolling back priority @bors p=0 |
|
@bors rollup=iffy |
|
(spurious) |
View all comments
Transforms the current algorithm for resolving imports to a batched algorithm. Every import in the
indeterminate_importsset is resolved in isolation. This is the only real difference from the current algorithm.r? petrochenkov