Repository navigation
specify target CPUs in 'powerpc-types.rs' assembly test - #166595
Merged
Merged
Conversation
Collaborator
|
r? @Enselic rustbot has assigned @Enselic. Use Why was this reviewer chosen?The reviewer was selected based on:
|
Member
|
Would you like to r? beetrees ? It looks like you might want to, based on git log. |
Collaborator
|
|
beetrees
approved these changes
Nov 27, 2026
Contributor
There was a problem hiding this comment.
With the same caveats regarding downstream changes to upstream targets mentioned in #164741 (comment):
@bors r+ rollup
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Nov 27, 2026
…=beetrees specify target CPUs in 'powerpc-types.rs' assembly test The test currently relies on the default CPU configured for each target. This makes its behavior dependent on the target specification, which can be modified by downstream distributions. Specifically, CentOS/RHEL 9/10 configure `powerpc64le-unknown-linux-gnu` target to use `pwr9`, and CentOS/RHEL 11 will use pwr10. This enables `power9-vector` by default and changes the code generation assumptions made by the test. This change set the baseline CPU for each PowerPC target revision, based on upstream's target definition in `compiler/rustc_target/src/spec/targets/<target>.rs`: * `generic` for powerpc * `ppc64` for powerpc64 * `ppc64le` for powerpc64le Additional target features remain enabled only in the revisions that explicitly test them. This makes the test independent of downstream changes to default target CPUs and keeps its code generation assumptions reproducible.
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 27, 2026
…uwer Rollup of 11 pull requests Successful merges: - #165836 (Use LLVM option `-disable-auto-upgrade-debug-info`) - #164783 (callconv: mips64: match gcc for "alignment" of 16-byte-aligned ZSTs) - #166634 (do not lint `drop_bounds`, `dyn_drop`, `trivial_bounds` and const param names on items from external macros) - #166649 (abby dsl: minor refactor/cleanup) - #164628 (callconv: mips64: handle repr(transparent)) - #166387 (Remove diagnostics import list) - #166564 (miri: support statx syscall) - #166583 (abby dsl tests: the passing test should check-pass) - #166595 (specify target CPUs in 'powerpc-types.rs' assembly test) - #166640 (compiletest: Use an explicit argfile instead of ArgFileCommand) - #166646 (Fix reversed argument counts in Fn trait mismatch note)
rust-bors Bot
pushed a commit
that referenced
this pull request
Nov 27, 2026
Rollup merge of #166595 - jchecahi:powerpc-types-base-cpu, r=beetrees specify target CPUs in 'powerpc-types.rs' assembly test The test currently relies on the default CPU configured for each target. This makes its behavior dependent on the target specification, which can be modified by downstream distributions. Specifically, CentOS/RHEL 9/10 configure `powerpc64le-unknown-linux-gnu` target to use `pwr9`, and CentOS/RHEL 11 will use pwr10. This enables `power9-vector` by default and changes the code generation assumptions made by the test. This change set the baseline CPU for each PowerPC target revision, based on upstream's target definition in `compiler/rustc_target/src/spec/targets/<target>.rs`: * `generic` for powerpc * `ppc64` for powerpc64 * `ppc64le` for powerpc64le Additional target features remain enabled only in the revisions that explicitly test them. This makes the test independent of downstream changes to default target CPUs and keeps its code generation assumptions reproducible.
mehmettoplu-rs
pushed a commit
to mehmettoplu-rs/miri
that referenced
this pull request
Nov 28, 2026
…uwer Rollup of 11 pull requests Successful merges: - rust-lang/rust#165836 (Use LLVM option `-disable-auto-upgrade-debug-info`) - rust-lang/rust#164783 (callconv: mips64: match gcc for "alignment" of 16-byte-aligned ZSTs) - rust-lang/rust#166634 (do not lint `drop_bounds`, `dyn_drop`, `trivial_bounds` and const param names on items from external macros) - rust-lang/rust#166649 (abby dsl: minor refactor/cleanup) - rust-lang/rust#164628 (callconv: mips64: handle repr(transparent)) - rust-lang/rust#166387 (Remove diagnostics import list) - rust-lang/rust#166564 (miri: support statx syscall) - rust-lang/rust#166583 (abby dsl tests: the passing test should check-pass) - rust-lang/rust#166595 (specify target CPUs in 'powerpc-types.rs' assembly test) - rust-lang/rust#166640 (compiletest: Use an explicit argfile instead of ArgFileCommand) - rust-lang/rust#166646 (Fix reversed argument counts in Fn trait mismatch note)
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.
The test currently relies on the default CPU configured for each target. This makes its behavior dependent on the target specification, which can be modified by downstream distributions.
Specifically, CentOS/RHEL 9/10 configure
powerpc64le-unknown-linux-gnutarget to usepwr9, and CentOS/RHEL 11 will use pwr10. This enablespower9-vectorby default and changes the code generation assumptions made by the test.This change set the baseline CPU for each PowerPC target revision, based on upstream's target definition in
compiler/rustc_target/src/spec/targets/<target>.rs:genericfor powerpcppc64for powerpc64ppc64lefor powerpc64leAdditional target features remain enabled only in the revisions that explicitly test them.
This makes the test independent of downstream changes to default target CPUs and keeps its code generation assumptions reproducible.