rustc: Tweak the effect of --jobs on frontend parallelism - #160697
Open
petrochenkov wants to merge 1 commit into
Open
rustc: Tweak the effect of --jobs on frontend parallelism#160697petrochenkov wants to merge 1 commit into
--jobs on frontend parallelism#160697petrochenkov wants to merge 1 commit into
Conversation
petrochenkov
commented
Aug 7, 2026
| - otherwise if `jobs` is passed, then it is used as the limit, | ||
| - otherwise `32` is used as the limit or there's no limit in case of an inherited jobserver, | ||
| this default may change. | ||
| - otherwise the number of available logical CPUs is used as the limit, this default may change. |
Collaborator
|
The job Click to see the possible cause of the failure (guessed by this bot) |
Contributor
Author
|
(Unrelated failure in libc tests.) |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
We need to be able to express both of these things for the frontend parallelism:
Nthreads",--jobs-frontend=Ndoes this.N",--jobs=Nwill do it after this PR.The "default number" may be 1 now, or 2 during the upcoming nightly testing, or 4 or 8 after the stabilization if we decide to cap the parallelism.
Part of rust-lang/compiler-team#1005.
r? @bjorn3