* [GIT PULL] Rust fixes for 7.3
@ 2026-08-30 9:38 Miguel Ojeda
0 siblings, 0 replies; only message in thread
From: Miguel Ojeda @ 2026-08-30 9:38 UTC (permalink / raw)
To: Linus Torvalds
Cc: Miguel Ojeda, Boqun Feng, Gary Guo, Björn Roy Baron,
Benno Lossin, Andreas Hindborg, Alice Ryhl, Trevor Gross,
Danilo Krummrich, Daniel Almeida, Tamir Duberstein,
Alexandre Courbot, Onur Özkan, rust-for-linux, linux-kernel
Hi Linus,
Please pull these fixes for Rust.
They have been in linux-next for at least 3 rounds (most for a week).
No conflicts expected.
Thanks!
Cheers,
Miguel
The following changes since commit d24f5cdbeff8b6a063fca92d0a1f94122a799b59:
Merge tag 'rust-7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux (2026-08-18 11:25:09 -0700)
are available in the Git repository at:
ssh://git@gitolite.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.3
for you to fetch changes up to 1b0bab4a873f1034c27573cfc613394cff7e0a5b:
rust: kbuild: disambiguate `zerocopy_derive` for `rusttest` (2026-08-25 22:19:27 +0200)
----------------------------------------------------------------
Rust fixes for v7.3
Toolchain and infrastructure:
- Fix KCFI failures, such as in Rust doctests, by disabling function
merging when CFI is enabled. Gary reported the LLVM bug to upstream
and it is now fixed in their mainline.
- Fix 'objtool' fallthrough warnings under the experimental
'CONFIG_RUST_INLINE_HELPERS' by passing (for the combined Rust and
helpers code) the LLVM options needed to preserve the unreachable
traps that 'rustc' normally emits.
In addition, fix 'objtool' errors when LTO is enabled on top, by
also filtering out the LTO flags (for the combined Rust and helpers
code) so that the traps are kept in place.
- Fix 'objtool' warnings by adding one more 'noreturn' function.
- Fix 'make rusttest' target when the 'rustc-dev' component is
installed and Rust >= 1.82.0, <= 1.87.0 is used.
'kernel' crate:
- 'num' module: fix soundness issue in the 'Bounded' conversion from
'bool' by restricting the conversions to unsigned 'Bounded'.
- 'jump_label' module: fix future 'make rusttest' target failures when
'ARCH=' is set to an arch different than the host's.
- 'list' module: fix incorrect 'pop_back()' comment.
----------------------------------------------------------------
FUJITA Tomonori (1):
rust: jump_label: skip arch-specific asm in `testlib` builds
Gary Guo (1):
rust: cfi: disable function merging if CFI is enabled
Miguel Ojeda (4):
objtool/rust: add one more `noreturn` Rust function
kbuild: rust: preserve unreachable traps with inline helpers
kbuild: rust: keep Rust objects out of Clang LTO with inline helpers
rust: kbuild: disambiguate `zerocopy_derive` for `rusttest`
Nikolai Grlica (1):
rust: kernel: list: fix incorrect pop_back example comment
Younes Akhouayri (1):
rust: num: restrict bool conversion to unsigned Bounded
Makefile | 13 ++++++++++++-
rust/Makefile | 6 ++++--
rust/kernel/jump_label.rs | 12 ++++++++++++
rust/kernel/list.rs | 2 +-
rust/kernel/num/bounded.rs | 30 +++++++++++++++++++++---------
scripts/Makefile.build | 3 ++-
tools/objtool/check.c | 1 +
7 files changed, 53 insertions(+), 14 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-30 9:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 9:38 [GIT PULL] Rust fixes for 7.3 Miguel Ojeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®