[GIT PULL] Rust fixes for 6.14

From: Miguel Ojeda
Date: Sat Feb 08 2025 - 12:58:33 EST


Hi Linus,

Please pull these fixes for Rust.

They have been in linux-next for a single round only. I will be sending
a few others in a week.

No conflicts expected.

Thanks!

Cheers,
Miguel

The following changes since commit 2014c95afecee3e76ca4a56956a936e23283f05b:

Linux 6.14-rc1 (2025-02-02 15:39:26 -0800)

are available in the Git repository at:

https://github.com/Rust-for-Linux/linux.git tags/rust-fixes-6.14

for you to fetch changes up to 6273a058383e05465083b535ed9469f2c8a48321:

x86: rust: set rustc-abi=x86-softfloat on rustc>=1.86.0 (2025-02-07 00:09:33 +0100)

----------------------------------------------------------------
Rust fixes for v6.14

Toolchain and infrastructure:

- Do not export KASAN ODR symbols to avoid gendwarfksyms warnings.

- Fix future Rust 1.86.0 (to be released 2025-04-03) x86_64 builds.

- Clean future Rust 1.86.0 (to be released 2025-04-03) warning.

- Fix future GCC 15 (to be released in a few months) builds.

- Fix `rusttest` target in macOS.

----------------------------------------------------------------
Alice Ryhl (1):
x86: rust: set rustc-abi=x86-softfloat on rustc>=1.86.0

Justin M. Forbes (1):
rust: kbuild: add -fzero-init-padding-bits to bindgen_skip_cflags

Matthew Maurer (1):
rust: kbuild: do not export generated KASAN ODR symbols

Miguel Ojeda (1):
rust: init: use explicit ABI to clean warning in future compilers

Tamir Duberstein (1):
rust: kbuild: use host dylib naming in rusttestlib-kernel

rust/Makefile | 5 +++--
rust/kernel/init.rs | 2 +-
scripts/generate_rust_target.rs | 18 ++++++++++++++++++
3 files changed, 22 insertions(+), 3 deletions(-)