public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Cc: Alyssa Ross <hi@alyssa.is>, Sasha Levin <sashal@kernel.org>,
	Huacai Chen <chenhuacai@loongson.cn>,
	WANG Xuerui <kernel@xen0n.name>, WANG Rui <wangrui@loongson.cn>,
	Tiezhu Yang <yangtiezhu@loongson.cn>,
	stable@vger.kernel.org, Miguel Ojeda <ojeda@kernel.org>,
	Alice Ryhl <aliceryhl@google.com>,
	Trevor Gross <tmgross@umich.edu>, Nicolas Schier <nsc@kernel.org>
Subject: Re: [PATCH 6.12.y] rust: kbuild: support `-Cjump-tables=n` for Rust 1.93.0
Date: Tue, 3 Feb 2026 15:42:01 +0100	[thread overview]
Message-ID: <2026020348-rehydrate-glider-b1f3@gregkh> (raw)
In-Reply-To: <CANiq72kXfdBtGAxdqer_t4JC+57mjgTpEE=D1VkAeODCf2hiZQ@mail.gmail.com>

On Thu, Jan 29, 2026 at 04:03:06PM +0100, Miguel Ojeda wrote:
> On Thu, Jan 29, 2026 at 3:55 PM Miguel Ojeda
> <miguel.ojeda.sandonis@gmail.com> wrote:
> >
> > On Thu, Jan 29, 2026 at 2:37 PM Alyssa Ross <hi@alyssa.is> wrote:
> > >
> > > From: Miguel Ojeda <ojeda@kernel.org>
> > >
> > > 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]
> > > Reviewed-by: Alice Ryhl <aliceryhl@google.com>
> > > Reviewed-by: Trevor Gross <tmgross@umich.edu>
> > > Acked-by: Nicolas Schier <nsc@kernel.org>
> > > Link: https://patch.msgid.link/20251101094011.1024534-1-ojeda@kernel.org
> > > Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
> > > (cherry picked from commit 789521b4717fd6bd85164ba5c131f621a79c9736)
> > > Signed-off-by: Alyssa Ross <hi@alyssa.is>
> >
> > Thanks!
> >
> > Greg, Sasha: yes, please take this one -- this commit should have had:
> >
> >   Cc: stable@vger.kernel.org # Needed in 6.12.y and later (Rust is
> > pinned in older LTSs).
> >
> > which was in the email thread, but I didn't pick it up and neither
> > `b4` did, my mistake.
> 
> By the way, if LoongArch (Cc'd) would like to backport commit
> 
>   74f8295c6fb8 ("LoongArch: Handle jump tables options for RUST")
> 
> then this would be a good chance to do so, since the one here would go
> on top of that one (Alyssa backported the x86 subset of the patch --
> for the future, by the way, it would be nice to note it in the commit
> message in between [ ... ]).

It doesn't apply to the 6.12.y tree cleanly :(

thanks,

greg k-h

  reply	other threads:[~2026-02-03 14:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-29 13:37 [PATCH 6.12.y] rust: kbuild: support `-Cjump-tables=n` for Rust 1.93.0 Alyssa Ross
2026-01-29 14:55 ` Miguel Ojeda
2026-01-29 15:03   ` Miguel Ojeda
2026-02-03 14:42     ` Greg KH [this message]
2026-02-03 17:18       ` Alyssa Ross
2026-02-06 10:47         ` Miguel Ojeda
2026-02-06 13:04           ` Alyssa Ross
2026-02-06 10:45       ` Miguel Ojeda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026020348-rehydrate-glider-b1f3@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=aliceryhl@google.com \
    --cc=chenhuacai@loongson.cn \
    --cc=hi@alyssa.is \
    --cc=kernel@xen0n.name \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=nsc@kernel.org \
    --cc=ojeda@kernel.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tmgross@umich.edu \
    --cc=wangrui@loongson.cn \
    --cc=yangtiezhu@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox