Rust fixes for 7.2
Miguel Ojeda
maintainerHi Linus,
Please pull these fixes for Rust.
They have been in linux-next for a few rounds.
No conflicts expected.
I will likely send another fixes PR later in the cycle.
Thanks!
Cheers,
Miguel
The following changes since commit 6b5a2b7d9bc156e505f09e698d85d6a1547c1206:
Merge tag 'trace-tools-v7.2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace (2026-06-16 17:50:34 +0530)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.2
for you to fetch changes up to 191f49f1e38b1c10eb44b0f967c6175c884ef7db:
rust: Kbuild: set frame-pointer llvm module flag for CONFIG_FRAME_POINTER (2026-06-19 10:00:06 +0200)
----------------------------------------------------------------
Rust fixes for v7.2
Toolchain and infrastructure:
- Work around a 'rustc' bug by setting the 'frame-pointer' LLVM module flag under 'CONFIG_FRAME_POINTER'. The upcoming Rust 1.98.0 is fixed.
- Doctests: fix incorrect replacement pattern.
'kernel' crate:
- Mark 'Debug' impl as '#[inline]'.
----------------------------------------------------------------
Alice Ryhl (1):
rust: Kbuild: set frame-pointer llvm module flag for CONFIG_FRAME_POINTER
Gary Guo (2):
rust: bitfield: mark Debug impl as #[inline]
rust: doctest: fix incorrect pattern in replacement
Makefile | 3 +++ rust/kernel/bitfield.rs | 1 + scripts/rustdoc_test_builder.rs | 16 ++++++++++------ 3 files changed, 14 insertions(+), 6 deletions(-)
The pull request you sent on Wed, 24 Jun 2026 16:46:30 +0200:
The pull request you sent on Wed, 24 Jun 2026 16:46:30 +0200:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/dcebfd2c1404d1c931e86ec5168cdc006d503909
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html