rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miguel Ojeda <ojeda@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Danilo Krummrich" <dakr@kernel.org>,
	rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] Rust fixes for 6.16 (2nd)
Date: Sat, 19 Jul 2025 12:31:09 +0200	[thread overview]
Message-ID: <20250719103109.155136-1-ojeda@kernel.org> (raw)

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(-)

             reply	other threads:[~2025-07-19 10:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-19 10:31 Miguel Ojeda [this message]
2025-07-19 18:29 ` [GIT PULL] Rust fixes for 6.16 (2nd) pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250719103109.155136-1-ojeda@kernel.org \
    --to=ojeda@kernel.org \
    --cc=a.hindborg@kernel.org \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=dakr@kernel.org \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tmgross@umich.edu \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).