Repository navigation
Rollup of 8 pull requests - #163876
Closed
JonathanBrouwer wants to merge 21 commits into
Closed
Rollup of 8 pull requests#163876JonathanBrouwer wants to merge 21 commits into
JonathanBrouwer wants to merge 21 commits into
Conversation
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
Member
Author
Contributor
This comment has been minimized.
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
Contributor
|
This pull request was unapproved due to being closed. |
Contributor
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.
Successful merges:
Selfin constructor paths again #163863 (use the type name instead ofSelfin constructor paths again)rustdoc-htmltests in the right location #163768 (Move morerustdoc-htmltests in the right location)as_c_char_ptrin several places #163789 (cg_llvm: Avoidas_c_char_ptrin several places)has_reliable_f16bfor Arm #163807 (Addhas_reliable_f16bfor Arm)r? @ghost
Create a similar rollup