Skip to content

Resolver: split module resolutions into local and external resolutions - #160099

Open
LorrensP-2158466 wants to merge 1 commit into
rust-lang:mainfrom
LorrensP-2158466:split-module-resolutions
Open

Resolver: split module resolutions into local and external resolutions#160099
LorrensP-2158466 wants to merge 1 commit into
rust-lang:mainfrom
LorrensP-2158466:split-module-resolutions

Conversation

@LorrensP-2158466

@LorrensP-2158466 LorrensP-2158466 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Part of #158845.

This pr splits the resolution table for local and external modules, with the external table being wrapped in a OnceLock, because only 1 thread may create that table in parallel resolution.

r? @petrochenkov

… having a `OnceLock` around it for parallel import resolution
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants