Skip to content

Rollup of 10 pull requests - #166076

Closed
JonathanBrouwer wants to merge 80 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-KmN5CEG
Closed

JonathanBrouwer wants to merge 80 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-KmN5CEG

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

tyilo and others added 30 commits September 28, 2026 16:53
…g-interpolation

Add `$` to bash string interpolation
…-address

amdgpu: document that ds_permute/ds_bpermute take a byte address
Also exposes the 32-bit intrinsics that are supported on RV64 in riscv_shared
Make RISC-V bit manipulation intrinsics match C API
Remove `rustc_legacy_const_generics` from unstable intrinsics
The crate is now on Rust 2024 so `rust_2018_idioms` isn't relevant.
Looking for TARGET in proc macros is a bit of a hack: we have to parse
it ourselves and it's not set by Cargo (as I understand it, proc macro
output is supposed to be target-agnostic).

Address this by moving logic based on `TARGET` into `cfg` that gets
emitted as part of quoting. Also a bit of other cleanup.

This fixes `macro_test` detection for a handful of targets (e.g.
armv5te- or mipsisa64r6el- prefixes), not that those were likely to get
run anyway.
simd-test: Handle target-specific behavior within generated code
…eon-bf16-intrinsics

Arm NEON bf16 intrinsics
assert_instr: add support for stricter tests
This matches LLVM

```
class SRLI_B_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.b", srl, vsplati8_uimm3,
                                            MSA128BOpnd>;
class SRLI_H_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.h", srl, vsplati16_uimm4,
                                            MSA128HOpnd>;
class SRLI_W_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.w", srl, vsplati32_uimm5,
                                            MSA128WOpnd>;
class SRLI_D_DESC : MSA_BIT_SPLAT_DESC_BASE<"srli.d", srl, vsplati64_uimm6,
                                            MSA128DOpnd>;
```

I suspect the old code mistakenly matched these variants

```
class SRLRI_B_DESC : MSA_BIT_X_DESC_BASE<"srlri.b", int_mips_srlri_b, uimm3,
                                         timmZExt3, MSA128BOpnd>;
class SRLRI_H_DESC : MSA_BIT_X_DESC_BASE<"srlri.h", int_mips_srlri_h, uimm4,
                                         timmZExt4, MSA128HOpnd>;
class SRLRI_W_DESC : MSA_BIT_X_DESC_BASE<"srlri.w", int_mips_srlri_w, uimm5,
                                         timmZExt5, MSA128WOpnd>;
class SRLRI_D_DESC : MSA_BIT_X_DESC_BASE<"srlri.d", int_mips_srlri_d, uimm6,
                                         timmZExt6, MSA128DOpnd>;
```
the all-bits-set input is optimized in a way that defeats the tests, so use a non-trivial input
…=RalfJung

rustc_target: Require altivec feature for ELFv2 powerpc64 targets

The ELFv2 ABI requires vector registers for passing certain types like vectors, the IEEE binary128 type and any future 16-byte aligned types. While all our targets that use the ELFv2 ABI have a baseline that already includes AltiVec (and therefore vector registers), we also shouldn't allow disabling the target feature. Add it to the list of ABI required features.

r? RalfJung
…-diagnostic, r=JonathanBrouwer

Duplicate attribute diagnostic cleanups

Currently there are two different diagnostics for when you can't have a duplicate attribute on an item, `UnusedDuplicate` and `UnusedMultiple`. This PR deduplicates their behavior into `UnusedMultiple`. In a separate commit, it renames `UnusedMultiple` to `DuplicateAttribute`, a more sensible name.

Separately, the third commit fixes a small issue where diagnostics about attributes would be printed with `..` as a path separator instead of `::`

Thanks to Jonathan Brouwer for the suggestion to work on this!

r? @JonathanBrouwer
…seZ4

Update TPDE submodule

This updates the TPDE submodule to commit rust-lang/tpde@efe4cc7. It adds support for a lot more LLVM intrinsics, which combined enable 95 of the top 1000 most downloaded crates to start compiling with TPDE only and not using the LLVM fallback.

r? @ZuseZ4
…ref-impls, r=Urgau

rustdoc: Correctly filter deref impls on type aliases

Follow-up of rust-lang#163571.

The bug was actually that I used the wrong `Type` for the filtering.

r? @Urgau
…my-code, r=clarfonthey

Fix bad hyperlink

Make it so `x doc library` doesn't fail due to a "this hyperlink is cringe" warning
Update books

## rust-lang/reference

4 commits in a2ae66d7037cbedac68746b9510b24cc34b96d69..bcd62f35e8bf480ec5b0fa569b6d12ea5924030c
2026-11-10 19:28:09 UTC to 2026-11-10 19:14:30 UTC

- Explicitly mention float rounding mode and exception behavior assumption (rust-lang/reference#2387)
- Update docs for inline_always + target_feature (rust-lang/reference#2391)
- `asm.options.global_asm-restriction`: show error output (rust-lang/reference#2395)
- Document the WebAssembly `wide-arithmetic` target feature (rust-lang/reference#2324)
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 16, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-slice-vec Area: `[T]` and `Vec<T>` 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. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Nov 16, 2026
@JonathanBrouwer

Copy link
Copy Markdown
Member Author

@bors r+ p=3 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 6fcd335 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

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Nov 16, 2026
Rollup of 10 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-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-aarch64-gnu-llvm-22-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-various failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
---- library/alloc/src/io/buf_read.rs - io::buf_read::BufRead (line 18) stdout ----
error: found crates `core` and `core` with colliding `StableCrateId` values
  --> library/alloc/src/io/buf_read.rs:18:98
   |
18 | fn main() { #[allow(non_snake_case)] fn _doctest_main_library_alloc_src_io_buf_read_rs_18_0() -> core::result::Result<(), impl core:...
   |                                                                                                  ^^^^

error: aborting due to 1 previous error

Couldn't compile the test.
\ (no newline at end of output)
---- library/alloc/src/io/buf_read.rs - io::buf_read::BufRead (line 18) stdout end ----
---- library/alloc/src/io/buf_read.rs - io::buf_read::BufRead::fill_buf (line 75) stdout ----
error: found crates `core` and `core` with colliding `StableCrateId` values
  --> library/alloc/src/io/buf_read.rs:75:98
   |
75 | fn main() { #[allow(non_snake_case)] fn _doctest_main_library_alloc_src_io_buf_read_rs_75_0() -> core::result::Result<(), impl core:...
   |                                                                                                  ^^^^

error: aborting due to 1 previous error

Couldn't compile the test.
\ (no newline at end of output)
---- library/alloc/src/io/buf_read.rs - io::buf_read::BufRead::fill_buf (line 75) stdout end ----
---- library/alloc/src/io/buf_read.rs - io::buf_read::BufRead::has_data_left (line 127) stdout ----
error: found crates `core` and `core` with colliding `StableCrateId` values
   --> library/alloc/src/io/buf_read.rs:129:99
    |
129 | fn main() { #[allow(non_snake_case)] fn _doctest_main_library_alloc_src_io_buf_read_rs_127_0() -> core::result::Result<(), impl cor...
    |                                                                                                   ^^^^

error: aborting due to 1 previous error

Couldn't compile the test.

@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 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

PR #166054, which is a member of this rollup, was unapproved.

This rollup was thus unapproved.

@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 added 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 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 2d0be21 failed: CI. Failed jobs:

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-slice-vec Area: `[T]` and `Vec<T>` 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-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. 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.