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

From: Miguel Ojeda
Date: Tue Nov 04 2025 - 14:25:41 EST


On Sat, Nov 1, 2025 at 10:40 AM Miguel Ojeda <ojeda@xxxxxxxxxx> 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>

It got stabilized and merged upstream.

Applied to `rust-fixes` -- thanks everyone!

Cheers,
Miguel