Re: [PATCH] rust: kbuild: support `-Cjump-tables=n` for Rust 1.93.0

From: Nicolas Schier
Date: Sat Nov 01 2025 - 13:58:30 EST


On Sat, Nov 01, 2025 at 10:40:11AM +0100, Miguel Ojeda wrote:
> Rust 1.93.0 (expected 2026-01-22) is stabilizing `-Zno-jump-tables`
> [1][2] as `-Cjump-tables=n` [3].
>
> Without this change, one would eventually see:
>
> RUSTC L rust/core.o
> error: unknown unstable option: `no-jump-tables`
>
> Thus support the upcoming version.
>
> Link: https://github.com/rust-lang/rust/issues/116592 [1]
> Link: https://github.com/rust-lang/rust/pull/105812 [2]
> Link: https://github.com/rust-lang/rust/pull/145974 [3]
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
> ---
> arch/loongarch/Makefile | 2 +-
> arch/x86/Makefile | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>

Acked-by: Nicolas Schier <nsc@xxxxxxxxxx>

--
Nicolas