Re: [PATCH] rust: kbuild: support `-Cjump-tables=n` for Rust 1.93.0
From: Alice Ryhl
Date: Sat Nov 01 2025 - 07:15:54 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>
Does this need a CC stable too?
Reviewed-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>