Skip to content

Rollup of 8 pull requests - #163876

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

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

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

xonx4l and others added 21 commits September 25, 2026 17:52
Claude Code loads AGENTS.md since 2.1.277, released September 18.
See https://code.claude.com/docs/en/changelog#2-1-277.
…ethercote

use the type name instead of `Self` in constructor paths again

Fixes rust-lang#163800 by restoring `Substructure.type_ident` and using it instead of `Self` for constructor paths in `Clone` and `Default`'s expansions.
r? @nnethercote
Remove CLAUDE.md

Claude Code loads AGENTS.md since 2.1.277, released September 18. See https://code.claude.com/docs/en/changelog#2-1-277.

r? @Turbo87
… r=nnethercote

perf:cache FFI safety results in improper_ctypes lint

This PR cache FFI safety results in improper_ctypes lint .

ImproperCTypesVisitor's cache field is recreated empty at every call site, so a struct type gets fully re-walked from scratch each time instead of once .

The implementation here moves the cache onto ImproperCtypesLint, so it remembers types we already checked and found FFI-safe, so we don't check the same type again every time it shows up in another function. We only remember "safe" types, never "unsafe" ones. That way we never need to keep the actual type around, just a fingerprint of it.Thus it persists across a whole module worth of foreign items.
…tests, r=Urgau

Move more `rustdoc-html` tests in the right location

Follow-up of rust-lang#162372.

r? @Urgau
…uppe

cg_llvm: Avoid `as_c_char_ptr` in several places

As noted in `rustc_codegen_llvm::ffi`:

> Normally it's a good idea for Rust-side bindings to match the corresponding C-side function declarations as closely as possible. But when passing `&str` or `&[u8]` data as a pointer/length pair, it's more convenient to declare the Rust-side pointer as `*const c_uchar` instead of `*const c_char`. Both pointer types have the same ABI, and using `*const c_uchar` avoids the need for an extra cast from `*const u8` on the Rust side.

The helper method `as_c_char_ptr` exists to make that extra cast more type-safe, but it's nicer to not need it all.

In addition to making call sites a bit simpler, this adjustment also makes it harder to accidentally pass a nul-terminated string to a function expecting a pointer/length string, and vice-versa.

There should be no change to compiler output.
…, r=folkertdev

Add `has_reliable_f16b` for Arm

Add the match arm for `has_reliable_f16b` for `Arch::Arm`. Through investigations in llvm/llvm-project#224867 there is decent enough support for Rusts `f16b` type on Arm targets.

r? folkertdev
Update books

## rust-lang/nomicon

1 commits in 5791ca9f5d671328af7a8fe87b42ca90c7211d28..46fc44214afcd159be175c8ee62887cad04f615d
2026-10-04 03:56:24 UTC to 2026-10-04 03:56:24 UTC

- Fix example for `intrinsics::abort_immediate` rename (rust-lang/nomicon#528)

## rust-lang/reference

5 commits in 4245282b97496585e73862b966d639cbb553bd6c..a286e1ecb8ce193d50056e4bb042eea9b23876ef
2026-09-29 19:01:58 UTC to 2026-09-22 19:37:21 UTC

- Glossary: put "Dyn-compatible traits" in alphabetical order (rust-lang/reference#2366)
- Grammar check: update rustc for forced keywords (rust-lang/reference#2369)
- Grammar check: allow workflow dispatch on forks (rust-lang/reference#2362)
- Grammar check: don't require compilation on PRs (rust-lang/reference#2363)
- Grammar check: update rustc tool for raw identifier changes (rust-lang/reference#2361)

## rust-lang/rust-by-example

1 commits in af5ef7024e88587aa3be244422f6365e86c50e85..dcc14f912bf8790792a2df082eddc82ab2539229
2026-09-29 13:34:33 UTC to 2026-09-29 13:34:33 UTC

- Update llvm bug link (rust-lang/rust-by-example#2034)
ci: update to PowerShell 7.6.6

This resolves the ICU version issue, because they now support a wide
range: PowerShell/PowerShell#26304
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Oct 6, 2026
@rustbot rustbot added A-CI Area: Our Github Actions CI A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc 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-infra Relevant to the infrastructure 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. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Oct 6, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

Trying commonly failed jobs
@bors try jobs=dist-various-1,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

@rust-bors

rust-bors Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 32a7536 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 Oct 6, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Oct 6, 2026
Rollup of 8 pull requests


try-job: dist-various-1
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
@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 Oct 6, 2026
@rust-bors

rust-bors Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

@rust-bors

rust-bors Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: 59a007f (59a007fb69c14d0a20f674c40d457a2fee5d07cc)
Base parent: b57eb9a (b57eb9a5fd94f30697f51fc88fbe898e67c7aae6)

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-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-testsuite Area: The testsuite used to check the correctness of rustc 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. T-infra Relevant to the infrastructure 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. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants