Skip to content

Rollup of 26 pull requests - #161396

Merged
rust-bors[bot] merged 76 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-Xo1vePV
Aug 20, 2026
Merged

Rollup of 26 pull requests#161396
rust-bors[bot] merged 76 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-Xo1vePV

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

mejrs and others added 30 commits August 5, 2026 19:09
This patch implements Rust's equivalent of Clang's function pointer type
discriminator computation used in pointer authentication. Compatibility
with Clang is a primary goal. The discriminator produced for a given
external "C" function type must match the value computed by Clang so
that function pointers can be exchanged safely between Rust and C code
while preserving pointer authentication semantics.

The implementation mirrors Clang's behavior in
`ASTContext::encodeTypeForFunctionPointerAuth`, ensuring that identical
C-compatible function types produce identical discriminators. See:
<https://clang.llvm.org/doxygen/ASTContext_8cpp.html#abb1375e068e807917527842d05cadea3>.
atomic volatile: add intrinsics

Extend the atomic load/store intrinsics to also support volatile atomic load/store.
Tracking issue: rust-lang#158947.
Library APIs that use these intrinsics will be added inn a future PR.

The GCC and cranelift implementations ignore the volatile flag, not sure how that should be implemented for them.
To `QuerySystem`, next to `query_vtables`. It's a better spot for it.
`MCOptions` is the name of the variable commonly used for instances of
`MCTargetOptions`. Use the proper type name instead.
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #160876 - malezjaa:remove-unrwap-graphviz, r=davidtwco

remove unwrap from write_mir_fn_graphviz
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #160927 - AsakuraMizu:eii-tests, r=davidtwco

Enhance EII UI tests

The first commit enabled all EII tests on Windows MSVC. Two other PRs were merged almost simultaneously with my previous PR and they kept `ignore-windows` instead of `ignore-windows-gnu`.

The second commit normalized EII dylib test coverage. Previously, there were only two dedicated negative tests and some auxiliary crates that had `no-prefer-dynamic` removed but whose `crate_type` was still `rlib` were accidentally compiled into `dylib`s and thus were tested unintentionally.

This is now normalized: some tests will be tested under two revisions: `rlib` and `dylib` or `dylib-impl` (declaration in `rlib` & implementation in `dylib`).

Note that `call_default_panics.run.stderr` is not updated; the file appears to be invalid, and I am unsure how to update this check.
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161068 - maxdexh:fix-thread-local-global-alloc-reenter-3, r=nia-e

Ensure TLS accesses don't call the global allocator through panic (part 3)

Follow-up to #160976

Missed TLS code that is in a completely different module for some reason

cc #160930
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161070 - folkertdev:armv7-align-abi, r=davidtwco

fix arm homogeneous aggregate ABI

This started with abi-cafe finding a mismatch between rustc and clang/gcc, but turned into quite the rabbit hole of bits of ABI that were never implemented. The code is effectively ported from LLVM, and abi-cafe is happy now.

The bug I hit was that aligned structs were passed incorrectly:

https://godbolt.org/z/jErPoPrv5

The assertions for watchOS are best-effort, I can't actually run that. But, it's tier 3, it was already broken, so at worst it's just less broken now.

The relevant code is in https://github.com/llvm/llvm-project/blob/551766823bb7b5a6af84e4ec1c1aff6dff431229/clang/lib/CodeGen/Targets/ARM.cpp, I'll link some specific parts.

r? davidtwco
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161190 - im-lunex:fix_#161101, r=oli-obk

fix crash in async-drop and async-gen

handle `AsyncGenPending` constants in `FixReturnPendingVisitor` rewrite `AsyncGenPending` constant uses to `Poll::<()>::Pending` in `FutureDropPoll` shims, matching the existing aggregate path

also added a regression test

fixes #161101.

issue reproduce - https://godbolt.org/z/d1zb4j974
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161236 - Kobzol:citool-parallel, r=jieyouxu

Download auto jobs in citool in parallel

To make the post-merge workflow report the result sooner after a PR is merged, and also to make local experiments (also with the test dashboard) quicker.

r? jieyouxu
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161254 - Zoxc:anon-node-reserve, r=davidtwco

Reserve capacity for 3% anon nodes

This reserves capacity for 3% anon nodes instead of 100%. For the benchmark suite the mean is ~1.6% and max ~5.8%, so I picked a middle ground.
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161283 - jchlanda:jakub/MCTargetOptions, r=JohnTitor

Tighten the language used for documenting `TargetOptions::llvm_abiname`

`MCOptions` is the name of the variable commonly used for instances of `MCTargetOptions`. Use the proper type name instead. It should make finding the [documentation](https://llvm.org/doxygen/classllvm_1_1MCTargetOptions.html) for the struct a bit easier.
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161291 - ada4a:push-xqqtloltnvwu, r=oli-obk

Rename `ProjectionPredicate` and `TraitPredicate`

Part of #107250

This deviates from the plan I described in #107250 (comment). The reason is that I kept getting into the awkward situation where I would go into a function dealing with multiple predicate/clause kinds, and need to rename only the variables referring with the particular kind I was renaming. So now, the plan is to first rename only the types (this PR), and afterwards go into functions and rename all the variables in them at once. That would also allow splitting the work better, e.g. tackling one crate/subtree at a time.

r? @oli-obk
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161293 - BoxyUwU:relnotes_1_98_0, r=cuviper

add relnotes 1.98.0

r? @cuviper

cc @rust-lang/release
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161299 - oli-obk:push-srmnrmyyzylq, r=mejrs

Remove a bunch of unnecessary explicit lifetimes

Both rustdoc and hir ty lowering only process the HIR, they never store any of those nodes anywhere.

The reason I did this is that I'm refactoring `hir::ItemKind::Use`, and for rustdoc's processing of it it is more convenient to create a bunch of values on the stack and reference them, but right now rustdoc was expecting `'tcx` lifetimes everywhere.
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161307 - RalfJung:arm-maintainers, r=JohnTitor,davidtwco

make ARM maintainers pingable

#153720 added the suggestion to ping ARM maintainers via rustbot, but that doesn't actually work currently. I hope this is the right way to set up triagebot.

Also, the target pages make it look like there is a `@rust-lang/arm-maintainers` GH team, which does not actually exist.

Cc @davidtwco
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161308 - KevinA-cpu:regression-test-80954, r=Nadrieril

Add regression test for rustc diagnostic to recognize variables in match guards

closes #80954
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161332 - nnethercote:GlobalCtxt-Session-cleanups, r=Zalathar

Some `GlobalCtxt`/`Session` cleanups

Details in individual commits.

r? @Zalathar
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161344 - Kobzol:update-rustc-perf, r=lqd

Update the `rustc-perf` submodule

To bring in rust-lang/rustc-perf#2537, so that we unblock #160619.

r? lcnr
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161346 - Randl:non-const-tests, r=oli-obk

Don't rely on std traits not being const in tests

Many of these were dealt with in #155616
There are some remaining ones
r? @oli-obk
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161360 - nia-e:vec-tiny-fixup, r=clarfonthey

vec: fixup the name that i forgot

Forgot this in #161115. per libs decision in #158344
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161366 - bjorn3:sync_cg_clif-2026-08-19, r=bjorn3

Subtree sync for rustc_codegen_cranelift

Syncing against despite it only being a couple of days ago to make the migration from git-subtree to josh-sync easier.

r? @ghost

@rustbot label +A-codegen +A-cranelift +T-compiler +subtree-sync
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161367 - Urgau:triagebot-no-merges-upd, r=bjorn3

Reflect current PR title names for subtree syncs in triagebot no-merges

Noticed that the current PR title names for subtree syncs seems to have changed (or at least for some) and is now "Subtree sync" (or it's lower-cased variant).

Let's update the triagebot config so the merge commit handler don't for those expected cases.

- #157533 (comment)
- #155978 (comment)
rust-bors Bot pushed a commit that referenced this pull request Aug 20, 2026
Rollup merge of #161384 - Kobzol:remove-sccache, r=jieyouxu

Bust sccache's cache

Trying to unblock CI.

Context: [#t-infra > GCC broken tests passed auto CI](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/GCC.20broken.20tests.20passed.20auto.20CI/with/617614472)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CI Area: Our Github Actions CI A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-query-system Area: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html) A-rustdoc-js Area: Rustdoc's JS front-end A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. O-SGX Target: SGX O-unix Operating system: Unix-like PG-exploit-mitigations Project group: Exploit mitigations rollup A PR which is a rollup T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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-release Relevant to the release subteam, 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. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.