Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 697E33AA1B3 for ; Tue, 3 Feb 2026 14:42:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770129725; cv=none; b=nD/Lgevijnaq4c4Iq2eRv2LE+peZvimFGLdEF8QtjgmotEJN4c8VyDP8PhEK0ikg/NcZvQ0aqpqCH3Xa8G1J12CufZBmsgmUx45qvDIs5t4Y7RN6SqCiFKXQRZlZEnKZFj3OUdOsA/QNyVsqnOdllhYc98iAVvCN8iDDPnzpt3k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770129725; c=relaxed/simple; bh=J2c8W+ly6Yrsegv01jJrvFep3ShpRthaDu5KYP2XttM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qEVMbFA+JRjwj6bspmNVBxw1ieIg1tm5E3WTifOrMukeRCfQbZpY8sWWco7eDc+G6dVd8326R6Bc5ENQo0Vr/tXzRQ8pTCJYxOVe7CnYOk3RJmsnsTtBfk2k6iXS4aOPYZIyDnJYMWJCuRK4KWVqxTshFeaQrG/LhFim688yEnU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vL+kHJTZ; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vL+kHJTZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5FDB3C116D0; Tue, 3 Feb 2026 14:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1770129725; bh=J2c8W+ly6Yrsegv01jJrvFep3ShpRthaDu5KYP2XttM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vL+kHJTZSRrz/UCkATLjSX6tsHOoctudBP/4OaaJQ8OMMSoYsJrxYXHoiUOmfDuaX lCj5ek7qBSbXU6qSCY99yMuAk/nqCZ/v8rAhwV8CxuYizDidwU4vAdhGw8WO8A1xbj nTdkp6+B8IqZ9Y4nFEyE2p+6XNJ/wzFcRDPv1PHY= Date: Tue, 3 Feb 2026 15:42:01 +0100 From: Greg KH To: Miguel Ojeda Cc: Alyssa Ross , Sasha Levin , Huacai Chen , WANG Xuerui , WANG Rui , Tiezhu Yang , stable@vger.kernel.org, Miguel Ojeda , Alice Ryhl , Trevor Gross , Nicolas Schier Subject: Re: [PATCH 6.12.y] rust: kbuild: support `-Cjump-tables=n` for Rust 1.93.0 Message-ID: <2026020348-rehydrate-glider-b1f3@gregkh> References: <20260129133715.23095-1-hi@alyssa.is> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, Jan 29, 2026 at 04:03:06PM +0100, Miguel Ojeda wrote: > On Thu, Jan 29, 2026 at 3:55 PM Miguel Ojeda > wrote: > > > > On Thu, Jan 29, 2026 at 2:37 PM Alyssa Ross wrote: > > > > > > From: Miguel Ojeda > > > > > > 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 > > > Reviewed-by: Trevor Gross > > > Acked-by: Nicolas Schier > > > Link: https://patch.msgid.link/20251101094011.1024534-1-ojeda@kernel.org > > > Signed-off-by: Miguel Ojeda > > > (cherry picked from commit 789521b4717fd6bd85164ba5c131f621a79c9736) > > > Signed-off-by: Alyssa Ross > > > > 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