Skip to contentSkip to conversation

Rust fixes for 7.0

GIT PULL Merged Miguel Ojeda 2 participants 2 messages Feb 21 – Feb 22 Rust

lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

Hi Linus,

Please pull these fixes for Rust.

The top commit has only been in linux-next for one round, but they are all low risk. They are also not urgent, so they may wait for -rc2.

No conflicts expected.

Thanks!

Cheers,
Miguel

The following changes since commit 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b:

Linux 6.19 (2026-02-08 13:03:27 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 97b281d7edb2ae662365be2809cd728470119720:

rust: list: Add unsafe blocks for container_of and safety comments (2026-02-20 01:59:51 +0100)

----------------------------------------------------------------
Rust fixes for v7.0-rc1

Toolchain and infrastructure:

- Pass '-Zunstable-options' flag required by the future Rust 1.95.0.

- Fix 'objtool' warning for Rust 1.84.0.

'kernel' crate:

- 'irq' module: add missing bound detected by the future Rust 1.95.0.

- 'list' module: add missing 'unsafe' blocks and placeholder safety comments to macros (an issue for future callers within the crate).

'pin-init' crate:

- Clean Clippy warning that changed behavior in the future Rust 1.95.0.

----------------------------------------------------------------
Benno Lossin (2):
rust: irq: add 'static bounds to irq callbacks
rust: pin-init: replace clippy expect with allow

Miguel Ojeda (2):
rust: kbuild: pass -Zunstable-options for Rust 1.95.0 objtool/rust: add one more noreturn Rust function

Philipp Stanner (1):
rust: list: Add unsafe blocks for container_of and safety comments

 rust/Makefile                          |  3 +++
 rust/kernel/irq/request.rs             | 12 +++++++++---
 rust/kernel/list/impl_list_item_mod.rs | 25 ++++++++++++++++---------
 rust/pin-init/src/lib.rs               |  4 ++--
 tools/objtool/check.c                  |  3 ++-
 5 files changed, 32 insertions(+), 15 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 21 Feb 2026 21:33:06 +0100:

The pull request you sent on Sat, 21 Feb 2026 21:33:06 +0100:

Quoted 1 line

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

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

Thank you!

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