-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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-compiler-related cleanup #136858
Merged
bors
merged 11 commits into
rust-lang:master
from
safinaskar:parallel-cleanup-2025-02-11-07-54
Feb 13, 2025
+17
−77
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
42ceb25
compiler/rustc_data_structures/src/sync.rs: these RwLock methods are …
safinaskar 25b6761
compiler/rustc_data_structures/src/sync.rs: remove "impl Clone for Rw…
safinaskar c9c7b44
compiler/rustc_data_structures/src/sync.rs: delete MappedLockGuard
safinaskar 8f684c9
compiler/rustc_data_structures/src/sync.rs: delete Weak
safinaskar 4a2c7f4
compiler/rustc_data_structures/src/sync.rs: remove atomics, but not A…
safinaskar d79f9ca
compiler/rustc_data_structures/src/sync.rs: delete Sync and Send
safinaskar afa01c1
src/doc/rustc-dev-guide/src/parallel-rustc.md: remove Arc and Rc (it …
safinaskar 851cc4b
compiler/rustc_codegen_gcc/src/back/lto.rs: delete "unsafe impl Sync/…
safinaskar 51f49d8
compiler/rustc_codegen_llvm/src/lib.rs: remove "unsafe impl Send/Sync"
safinaskar 0240690
compiler/rustc_data_structures/src/sync/worker_local.rs: delete "unsa…
safinaskar 8506dd2
config.example.toml: remove "parallel-compiler"
safinaskar 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
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.
Why is this impl removed?
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.
Ah, it should be keeped. The design of
WokerLocal
should return references to variables by thread id as indexes.Thanks and sorry for the missing
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.
@safinaskar Can you submit a follow-up PR to revert the changes to
WorkerLocak
here?