Skip to content

Rollup of 2 pull requests - #166644

Closed
JonathanBrouwer wants to merge 5 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-21H08NL
Closed

JonathanBrouwer wants to merge 5 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-21H08NL

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

chenx97 and others added 5 commits November 25, 2026 15:01
This fixes ABI compatibility with nested repr(transparent) and repr(C)
types for mips64, as shown in tests/ui/abi/compatibility.rs.

This patch also fixes trivial-ABI struct member handling for return types.
…=beetrees

callconv: mips64: handle repr(transparent)

This fixes ABI compatibility with nested repr(transparent) and repr(C) types for mips64, as shown in tests/ui/abi/compatibility.rs.

Fixes rust-lang#115404.

r? beetrees
cc @folkertdev
…=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 rust-bors Bot added the rollup A PR which is a rollup label Nov 27, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Nov 27, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 9b603a1 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 27, 2026
@rust-bors

rust-bors Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

rust-bors Bot pushed a commit that referenced this pull request Nov 27, 2026
…uwer

Rollup of 2 pull requests

Successful merges:

 - #164628 (callconv: mips64: handle repr(transparent))
 - #166595 (specify target CPUs in 'powerpc-types.rs' assembly test)
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

Stuck, might still finish but not worth waiting because this rollup is mini

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 27, 2026
@rust-bors

rust-bors Bot commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

Auto build was cancelled due to the PR being closed. Cancelled workflows:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants