-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallel tweaks #67870
Closed
Closed
Parallel tweaks #67870
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9686309
Ensure all iterations in Rayon iterators run in the presence of panics
Zoxc f948fd0
Update tests
Zoxc 45d4695
Use $crate
Zoxc 27c98b8
Parallelize type collecting and item-types checking
Zoxc 011e972
Tweak misc checking 1
Zoxc 93f7b24
Run item-types checking and item-bodies checking in parallel
Zoxc e2ec0eb
Handle panics with `join`
Zoxc ad6af11
Make typeck_item_bodies eval_always
Zoxc 2e1da95
Make coherence checking parallel
Zoxc 185a37e
Move privacy_access_levels out of misc checking 3 and run it in paral…
Zoxc dfaed34
Move some other passes into a parallel block
Zoxc f07d1b1
Make liveness checking more parallel
Zoxc 3241d76
Prefetch upstream_monomorphizations
Zoxc bfa09ed
Add a new misc checking 3 block
Zoxc 4332e35
Prefetch lint_levels and visible_parent_map
Zoxc 3f04433
Fix duplicate test fallout
Zoxc b9c97e9
Drop `ensure` for privacy_access_levels. Add some comments.
Zoxc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now uses the resumes the last instead of first panic.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which is fine, we only use a single panic value in rustc (excluding bugs).