bootstrap: add bootstrap step to run stdarch-gen checks in CI - #156674
Open
xonx4l wants to merge 9 commits into
Open
bootstrap: add bootstrap step to run stdarch-gen checks in CI#156674xonx4l wants to merge 9 commits into
xonx4l wants to merge 9 commits into
Conversation
Collaborator
|
|
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.
Collaborator
|
cc @Amanieu, @folkertdev, @sayantn |
Kobzol
reviewed
May 27, 2026
This comment has been minimized.
This comment has been minimized.
xonx4l
force-pushed
the
port-stdarch-gen
branch
from
August 13, 2026 19:31
a594176 to
59674c1
Compare
Collaborator
|
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. |
Kobzol
reviewed
Aug 14, 2026
Member
|
@bors try jobs=x86_64-gnu |
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 14, 2026
bootstrap: add bootstrap step to run stdarch-gen checks in CI try-job: x86_64-gnu
This comment has been minimized.
This comment has been minimized.
Contributor
|
💔 Test for bb3dc02 failed: CI. Failed job:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Member
|
@bors try jobs=x86_64-gnu |
This comment has been minimized.
This comment has been minimized.
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 15, 2026
bootstrap: add bootstrap step to run stdarch-gen checks in CI try-job: x86_64-gnu
Contributor
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.
View all comments
This PR ports stdarch-gen checks into the bootstrap test runner as a step, so that we can run the stdarch-gen checks via x.py test.
Changes -:
-> Adds a new
StdarchGenCheckbootstrap step.-> Mirrors
https://github.com/rust-lang/stdarch/blob/f71ac102d30d5d1957277cbffc6ba631b67bffd1/.github/workflows/main.yml#L309-L333(check-stdarch-gen job)->
stdarch-gen-armuses a nightly only feature (#![feature(pattern)]) but bootstrap's cargo runs on the beta toolchain thus we setRUSTC_BOOTSTRAP=1on the child process so it builds.-> The generators call out to
rustfmtto format their output sorustfmtneeds to be onPATH. So added bootstrap's rustfmt toPATHbefore each run. If rustfmt isn't available, the step fails early and tells the user to setrustfmt = trueinbootstrap.toml.r? @Kobzol