Skip to content

Rollup of 19 pull requests - #166052

Closed
JonathanBrouwer wants to merge 134 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-6BQjufZ
Closed

JonathanBrouwer wants to merge 134 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-6BQjufZ

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

khyperia and others added 30 commits October 12, 2026 07:32
Document that `portable-simd` now uses Josh
…Csave-temps and pass the linked device image to the host pass
…g-fuzzing

Recommend labels for fuzzed issues
…x-elf

update offload usage after simplified build pipeline
pipe_subprocess test: use libtest harness

As a no-harness test, this does not work properly with nextest, which is a problem for https://github.com/rust-lang/miri-test-libstd where we use nextest to get a list of all tests Miri cannot run. See [this run](https://github.com/rust-lang/miri-test-libstd/actions/runs/43351169541/job/131642312456) where nextest cannot gather a list of tests because the pipe_subprocess test actually *runs* when `--list` is being passed.

So let's manually apply the harness while keeping enough control over the subprocess.
Cleanup borrowck

small cleanups found by clippy
Improve `String::insert{,_str}` safety comments

These comments were wrongly annotated with SAFETY despite mostly being regular comments.
Now the SAFETY tag only applies to the actual safety considerations, some of which I've added.

r? @thomcc
Correct and expand E0225 error explanation.

* “Multiple types” should be “multiple traits”.
* Closures are not relevant. (This phrasing probably came from seeing `Box<Fn()>` as being something different from a normal trait, but today, `dyn` makes them all recognizable as trait objects.)
* Explain and demonstrate two possible solutions for a problem that seems to require multiple traits, in addition to the auto trait exemption.

Inspired by <https://users.rust-lang.org/t/what-is-the-reason-behind-inability-to-use-several-trait-bounds-for-a-trait-object/143682/6>
…lkertdev

Split packed structs out of `const_struct`

Match `type_struct`/`type_packed_struct` and `set_struct_body`/`set_struct_body_packed` by splitting `const_struct` into `const_struct`/`const_packed_struct`.

r? @folkertdev
…ror-const-len-ice, r=khyperia

Normalize the simd field type before reading its length

The simd branch in layout_of_uncached was assuming the field type was already normalized, but field.ty(tcx, args) only substitutes generic arguments. So, we now normalize the field type before extracting the array length. Initially we use to normalize it, but we removed it in: rust-lang#137852 (might be an oversight?)

closes: rust-lang#138009

r? @khyperia
Three LLVM-type-related cleanups

This PR contains three small LLVM-type-related cleanups, each in a separate commit:

* All but one users of `type_named_struct` immediately call `set_struct_body` to set the struct fields. The first commit refactors `type_named_struct` to set the fields itself.
* Several places in `rustc_codegen_llvm` call the generic `type_ix`/`const_uint`/`const_int` methods with a constant type; the second commit changes these cases to use the more concise type-specific methods.
* `isize_ty` is only called by `type_isize`, so the third commit inlines it.

r? @bjorn3
… r=tgross35

Document AltiVec requirement for powerpc64-unknown-linux-gnuelfv2

The wording is copy pasted from the platform support document for powerpc64-unknown-linux-musl.

Requested by @tgross35 on [Zulip](https://rust-lang.zulipchat.com/#narrow/channel/233931-t-compiler.2Fmajor-changes/topic/Promote.20powerpc64-unknown-linux-gnuelfv2.E2.80.A6.20compiler-team.231049/near/640693636).
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 16, 2026
@rustbot rustbot added A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustc-dev-guide Area: rustc-dev-guide A-str Area: `str` and `String` 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. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Nov 16, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=0 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,dist-various-2,test-various,test-x86_64-gnu-aux,test-x86_64-msvc-1,test-aarch64-apple-1,test-aarch64-apple-2,test-x86_64-mingw-1,test-i686-msvc,test-armhf-gnu,test-x86_64-gnu-llvm-22-3,test-aarch64-msvc-2

@rust-bors

rust-bors Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

📌 Commit eafcf98 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 16, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 16, 2026
Rollup of 19 pull requests


try-job: dist-various-1
try-job: dist-various-2
try-job: test-various
try-job: test-x86_64-gnu-aux
try-job: test-x86_64-msvc-1
try-job: test-aarch64-apple-1
try-job: test-aarch64-apple-2
try-job: test-x86_64-mingw-1
try-job: test-i686-msvc
try-job: test-armhf-gnu
try-job: test-x86_64-gnu-llvm-22-3
try-job: test-aarch64-msvc-2
@rust-bors

This comment has been minimized.

@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 16, 2026
@rust-bors rust-bors Bot closed this Nov 16, 2026
@rust-bors

rust-bors Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

PR #165999, which is a member of this rollup, changed its commit SHA to eb82c1fb765d5be4fefcfe37e7b0ec1668b38267.

This rollup was thus unapproved due to being closed.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Nov 16, 2026
@rust-bors rust-bors Bot mentioned this pull request Nov 16, 2026
@rust-bors

rust-bors Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: d28fc57 (d28fc57c76ec27283fed65ed7dc997be08929165)
Base parent: 4de190d (4de190d26178bb0c22ed4c005679bb621f7e9c18)

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

Labels

A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-rustc-dev-guide Area: rustc-dev-guide A-str Area: `str` and `String` rollup A PR which is a rollup T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.