Rust fixes for 6.16 (2nd)
Miguel Ojeda
maintainerHi Linus,
Please pull these fixes for Rust (second round).
All commits have been in linux-next for four rounds.
No conflicts expected.
Thanks!
Cheers,
Miguel
The following changes since commit 86731a2a651e58953fc949573895f2fa6d456841:
Linux 6.16-rc3 (2025-06-22 13:30:08 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-6.16-2
for you to fetch changes up to 7498159226772d66f150dd406be462d75964a366:
rust: use #[used(compiler)] to fix build and modpost with Rust >= 1.89.0 (2025-07-14 23:30:44 +0200)
----------------------------------------------------------------
Rust fixes for v6.16 (2nd)
Toolchain and infrastructure:
- Fix build and modpost confusion for the upcoming Rust 1.89.0 release.
- Clean objtool warning for the upcoming Rust 1.89.0 release by adding one more noreturn function.
'kernel' crate:
- Fix build error when using generics in the 'try_{,pin_}init!' macros.
----------------------------------------------------------------
Janne Grunau (1):
rust: init: Fix generics in *_init! macros
Miguel Ojeda (2):
objtool/rust: add one more noreturn Rust function for Rust 1.89.0
rust: use #[used(compiler)] to fix build and modpost with Rust >= 1.89.0
rust/Makefile | 1 + rust/kernel/firmware.rs | 2 +- rust/kernel/init.rs | 8 ++++---- rust/kernel/kunit.rs | 2 +- rust/kernel/lib.rs | 3 +++ rust/macros/module.rs | 10 +++++----- scripts/Makefile.build | 3 ++- tools/objtool/check.c | 1 + 8 files changed, 18 insertions(+), 12 deletions(-)
The pull request you sent on Sat, 19 Jul 2025 12:31:09 +0200:
The pull request you sent on Sat, 19 Jul 2025 12:31:09 +0200:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-6.16-2
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/acc0bac1c625972f3622339080194061e28fa243
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html