From mboxrd@z Thu Jan 1 00:00:00 1970 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 6077A2727FE; Sat, 1 Nov 2025 17:57:51 +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=1762019871; cv=none; b=Oj3gInVsDBvnJ4dcUOtCKfKCHA06pCFddS5Jmp7r6ZXs01YXI106DtxBFD2T8kKVLUGfiziRLQ5SZl3aWGR8S9KxDw4wpORtkw9mKjALukC2NepZmzB6pFqm2/EMZhVUQY/Gkavv631ME+jghJs458UFACm+q1DAzEj0IJuKjq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762019871; c=relaxed/simple; bh=I+kQ9tDRrEbESkDzWsCmJUi6GBWfk4oyAl58SJAjkxc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=I1FiaxlgpT8ZcgNpf6oYJLO4e+jrVKxzezAPLzuOFTjn2CldnoiuAJYqjBGoTTIlOkgHuSNMyI1dPwiq5Sb1N4rM4rniSekbKhYpp9lFi7Ji7OG3Uvb1vPP6xDoCWQXJvtT3uVmRvoq+9/P7KuDPfgCy/qdi5YJ+9qwejFad0IM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Skve4AR4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Skve4AR4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DDA5C4CEF1; Sat, 1 Nov 2025 17:57:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1762019870; bh=I+kQ9tDRrEbESkDzWsCmJUi6GBWfk4oyAl58SJAjkxc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Skve4AR4jkw+UfiyCWIydCfYHCOXy/vSWfd+651n1VLTlw/tYEIe1BViYrj+BZ3wg VZy09aPhIC1E0wXgaV1yAMPwg+mHjIdKx0l8FARVFpCOKz0n6oecBP815ueF/OE33l iYGmfdrezGx3O1axm/D50OIEOFsCReSSPoGs22dWFfvOVkDS5C9t8oSktiPuYbWDlV PsT84aLNZa1jvCLnOAy1ELwlPR1zsCIikuBg1L67DHlkj9/Iroi215Kys6QTNUeloQ bmKrxw304QGsJe1NpRRXBcESDacDA1itM/Hf9b0l1lgBgXVi1AL1JjXzhuaU21jmKq bhM1M9VaofAFg== Date: Sat, 1 Nov 2025 18:25:35 +0100 From: Nicolas Schier To: Miguel Ojeda Cc: Alex Gaynor , Nathan Chancellor , Huacai Chen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , rust-for-linux@vger.kernel.org, linux-kbuild@vger.kernel.org, WANG Xuerui , loongarch@lists.linux.dev, "H. Peter Anvin" , linux-kernel@vger.kernel.org, patches@lists.linux.dev Subject: Re: [PATCH] rust: kbuild: support `-Cjump-tables=n` for Rust 1.93.0 Message-ID: References: <20251101094011.1024534-1-ojeda@kernel.org> Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251101094011.1024534-1-ojeda@kernel.org> 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 > --- > arch/loongarch/Makefile | 2 +- > arch/x86/Makefile | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > Acked-by: Nicolas Schier -- Nicolas