Skip to contentSkip to conversation

Rust fixes for 7.1

GIT PULL Merged Miguel Ojeda 2 participants 2 messages May 9 Rust

lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

Hi Linus,

Please pull these fixes for Rust.

They have been in linux-next this full week.

No conflicts expected.

I will likely send another fixes PR later in the cycle.

Thanks!

Cheers,
Miguel

The following changes since commit 254f49634ee16a731174d2ae34bc50bd5f45e731:

Linux 7.1-rc1 (2026-04-26 14:19:00 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.1

for you to fetch changes up to 2adc8664018c1cc595c7c0c98474a33c7fe32a85:

rust: allow clippy::collapsible_if globally (2026-04-30 23:21:31 +0200)

----------------------------------------------------------------
Rust fixes for v7.1

Toolchain and infrastructure:

- Add 'bindgen' target to make UML 32-bit builds work with GCC.

- Disable two Clippy warnings ('collapsible_{if,match}').

'pin-init' crate:

- Fix unsoundness issue that created &'static references.

----------------------------------------------------------------
David Gow (1):
rust: arch: um: Fix building 32-bit UML with GCC

Gary Guo (2):
rust: pin-init: internal: move alignment check to make_field_check
rust: pin-init: fix incorrect accessor reference lifetime

Miguel Ojeda (2):
rust: allow clippy::collapsible_match globally
rust: allow clippy::collapsible_if globally

 Makefile                                    |   2 +
 drivers/android/binder/range_alloc/array.rs |   1 -
 rust/Makefile                               |   2 +
 rust/pin-init/internal/src/init.rs          | 184 +++++++++++++---------------
 rust/pin-init/src/__internal.rs             |  28 +++--
 5 files changed, 107 insertions(+), 110 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 9 May 2026 19:04:12 +0200:

The pull request you sent on Sat, 9 May 2026 19:04:12 +0200:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/e92b2872d0b198a77c0a438c5cdb1c5510762c1b

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html