[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250719103109.155136-1-ojeda@kernel.org>
Date: Sat, 19 Jul 2025 12:31:09 +0200
From: Miguel Ojeda <ojeda@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <lossin@...nel.org>,
Andreas Hindborg <a.hindborg@...nel.org>,
Alice Ryhl <aliceryhl@...gle.com>,
Trevor Gross <tmgross@...ch.edu>,
Danilo Krummrich <dakr@...nel.org>,
rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] Rust fixes for 6.16 (2nd)
Hi 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(-)
Powered by blists - more mailing lists