From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F1EECCD37AB for ; Tue, 3 Sep 2024 17:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Date:Cc:To:From :Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=IAESczAqoTkqwd1sElm2y6U2dzgfrcTnXqQTQycwhtw=; b=fTiNaXBIWu8oXtAI35B2RYla4y y2qSuS8/T05CtNuyYqYnqeax0RGOjfLjYWL0k+CNYb6bMGOOhpLcBLG7/oJ5yKvpfkc879/0Y9KvP U65H5cpYTZhrj4z918qi+iuu8W2yuaT4zqcbBe857XZ9M/6MHPI/xi2dxD6ZE7O3j7fa27se8ysYT tHWaN2lNSOcAHdtfMSJvQZ139qYPEdazceOw09BhPczTmaL3O/3xVsVf9hPD2SnzveYi1con7zxl0 ZspefcTJM4m0sRmmrBMToP4V861GaOf1DGhlqgrse+sCUQnXGpUkRsBVQHT5MdkYhPEWIVmJ9LpPY 4Nd2wlOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slXn7-00000001OKV-2mK0; Tue, 03 Sep 2024 17:58:09 +0000 Received: from s3.sipsolutions.net ([2a01:4f8:242:246e::2] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slXn4-00000001OJy-196A for linux-um@lists.infradead.org; Tue, 03 Sep 2024 17:58:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=IAESczAqoTkqwd1sElm2y6U2dzgfrcTnXqQTQycwhtw=; t=1725386285; x=1726595885; b=SWl6yIwwlZoj8dRYSBtpmBe5x/OWoAmxVj6LleiBCCmV6iJ UoXWsJ+j8Km92UZKiy0iQCRcvZw+gMVz8dgwTcY3GIb0NrGbBvu5bxMRnsZSIfoVP2ZIRgiu1OyGP qb01e4ReDYR3BNd8QRR3iwnrzeG8gnI6yBqRRU2UVhM4BLqPrbBJFALePANqNdjmaRX2NgFgUdNt5 4j5uo1RUXGyZl98ree0wWgUq9E0NFhp7YCZfGWpm50eOwqK22drXxf/2NwN26MZnnoFmOC06srp+o DFElhVRVBm+W9nbah82nLaA1gWKTYs7yF0fEJUMeXa9SvMsCcveVMMT/FM+PS/2g==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1slXmU-00000002un7-3JPR; Tue, 03 Sep 2024 19:57:31 +0200 Message-ID: Subject: Re: [PATCH 1/3] rust: Introduce HAVE_GENERATE_RUST_TARGET config option From: Johannes Berg To: Jiaxun Yang , Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Richard Weinberger , Anton Ivanov , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?ISO-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Thomas Bogendoerfer , Steven Rostedt , Masami Hiramatsu , Mark Rutland , Jonathan Corbet , Alex Shi , Yanteng Si , Nick Desaulniers , Bill Wendling , Justin Stitt Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-um@lists.infradead.org, rust-for-linux@vger.kernel.org, linux-mips@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-doc@vger.kernel.org, llvm@lists.linux.dev Date: Tue, 03 Sep 2024 19:57:29 +0200 In-Reply-To: <20240903-mips-rust-v1-1-0fdf0b2fd58f@flygoat.com> References: <20240903-mips-rust-v1-0-0fdf0b2fd58f@flygoat.com> <20240903-mips-rust-v1-1-0fdf0b2fd58f@flygoat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.4 (3.52.4-1.fc40) MIME-Version: 1.0 X-malware-bazaar: not-scanned X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240903_105806_474720_A2A38BA1 X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+linux-um=archiver.kernel.org@lists.infradead.org On Tue, 2024-09-03 at 18:14 +0100, Jiaxun Yang wrote: >=20 > --- a/arch/um/Kconfig > +++ b/arch/um/Kconfig > @@ -32,6 +32,7 @@ config UML > select TTY # Needed for line.c > select HAVE_ARCH_VMAP_STACK > select HAVE_RUST > + select HAVE_GENERATE_RUST_TARGET if X86_32 || X86_64 >=20 There are no other sub-arches support for UML, I don't see much point in adding the dependency here. johannes