Skip to contentSkip to conversation

Rust fixes for 7.1 (2nd)

GIT PULL Merged Miguel Ojeda 2 participants 2 messages Jun 6 Rust

lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

Hi Linus,

Please pull these fixes for Rust.

They have all been in linux-next for a week or longer.

No conflicts expected.

Thanks!

Cheers,
Miguel

The following changes since commit 5d6919055dec134de3c40167a490f33c74c12581:

Linux 7.1-rc3 (2026-05-10 14:08:09 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.1-2

for you to fetch changes up to 905b06d32a52afe32fcf5f30cf298c9ea6359f11:

rust: x86: support Rust >= 1.98.0 target spec (2026-05-30 15:38:16 +0200)

----------------------------------------------------------------
Rust fixes for v7.1 (2nd)

Toolchain and infrastructure:

- Fix 'rustc-option' (the Makefile one) when cross-compiling that leads to build or boot failures in certain configs.

- Work around a Rust compiler bug (already fixed for Rust 1.98.0) thats lead to boot failures in certain configs due to missing 'uwtable' LLVM module flags.

- Support a Rust compiler change (starting with Rust 1.98.0) in the unstable target specification JSON files.

- Forbid Rust + arm + KASAN configs, which do not build.

'kernel' crate:

- Fix NOMMU build by adding a missing helper.

----------------------------------------------------------------
Alice Ryhl (2):
rust: kasan/kbuild: fix rustc-option when cross-compiling
rust: arm64: set uwtable llvm module flag for CONFIG_UNWIND_TABLES

Miguel Ojeda (1):

      rust: x86: support Rust >= 1.98.0 target spec

Nathan Chancellor (1):
ARM: Do not select HAVE_RUST when KASAN is enabled

Shivam Kalra (1):
rust: helpers: add is_vmalloc_addr wrapper for NOMMU builds

 Makefile                        | 3 ++-
 arch/arm/Kconfig                | 2 +-
 arch/arm64/Makefile             | 3 +++
 arch/x86/Makefile               | 4 ++++
 arch/x86/Makefile.um            | 8 ++++++++
 rust/helpers/vmalloc.c          | 6 ++++++
 scripts/Makefile.compiler       | 2 +-
 scripts/generate_rust_target.rs | 8 ++++++--
 8 files changed, 31 insertions(+), 5 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 6 Jun 2026 13:36:18 +0200:

The pull request you sent on Sat, 6 Jun 2026 13:36:18 +0200:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-7.1-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/d054796f8bb7d0aa9068d83feda76fe3b215f991

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html