Skip to content

Rust fixes for the upcoming 1.89 release

Miguel Ojeda linux-kbuild linux-patches lkml rust-for-linux stable 1 version Applied

Status from this message: Applied to `rust-fixes` -- thanks everyone!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2objtool/rust: add one more `noreturn` Rust function for Rust 1.89.0tools/objtool/check.c+1 -03 replies
2/2rust: use `#[used(compiler)]` to fix build and `modpost` with Rust >= 1.89.0rust/Makefile rust/kernel/firmware.rs rust/kernel/kunit.rs +3 more+13 -81 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Zijlstra (Intel)Alice Ryhl
1/2A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Rust fixes for the upcoming 1.89 release

A couple fixes for the upcoming 1.89.0 release, currently in beta.

With this, current nightly (1.90) gets also clean.

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/kunit.rs    |  2 +-
 rust/kernel/lib.rs      |  3 +++
 rust/macros/module.rs   | 10 +++++-----
 scripts/Makefile.build  |  3 ++-
 tools/objtool/check.c   |  1 +
 7 files changed, 14 insertions(+), 8 deletions(-)

base-commit: fe49aae0fcb348b656bbde2eb1d1c75d8a1a5c3c --
2.50.1