Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2074838rbb; Tue, 27 Feb 2024 09:48:30 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWzJYS1Yg8RBzb8xfF8GbcjO9k9pcsmRT7qQVnYCP0T0zPpyKRWQ+ObGnXCMneKlR36G0KmwAFKhIKwNT7MmAL+uu5R6JZRoTWWL25Cnw== X-Google-Smtp-Source: AGHT+IGtFRTzAvTIFWhYPkAMnJQAHTOJxRdv79yEeSXtiizZDSoP89EGMAftv8+iyHmy70301XzU X-Received: by 2002:a25:698c:0:b0:dcc:97e4:bc61 with SMTP id e134-20020a25698c000000b00dcc97e4bc61mr183107ybc.57.1709056110104; Tue, 27 Feb 2024 09:48:30 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709056110; cv=pass; d=google.com; s=arc-20160816; b=SmHEKtDcnv15i1j73unH1tft4sOkH2+yrsSg8oHTwjfCGS3Wl5Qz5/F7jAoTX4QGV8 wFSlTJtM6k5zm2o6+ULLQvsZgxWctsj/44X3XgJjC4RSQ3gDUFcaMlKWUdAKslAQo7Ze xk69kBUOxff9FciXrUGSGz7ycNTFR+xv2xtpROzV8rRKwkXyFm2ib74EbcwftMT9ocj7 Cp++e4U6AWuWW/A1U1lKoqUxbtTba31Jy0kGOSAV0G/RumdyrlFsptWuEk19DZBlDQ7K 9n9NiXMYq/EV2IMXdVMtvFVpBqghNBqmguwk2lrKREgKUjLrLC9Tuj5XzVaDBccMY0Xl eXVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vqVV7Q6iDsLx5qklxPAuR/oFiUFjZboKbfskVrbCEvM=; fh=fPjR/7hchu8hSi6nXj0nBI+wWeJn4Ln/AM1YTRtvS44=; b=bxxlXCKuqteNKdLSBDrYrBbozZBWI9smkoVE4nvAem6z/XgWlLpkqDboG+KLHevZFm 0h8iw3ta3weJ+wtihfcenmbKYYYXiJ0bRwxYYt6S6GwOrhVFP487Ktz2OSCfG47jF+L9 zll76hKMZm+WK9yKSGM1p8ppDNp0+3/1jsFWhBfh7pRxoNRo6wNuj4K7gniFj2EWIvkb gM3+jL2YFCFZgqSuZOJ+B26KLVCZZpJ3EBmnrrWq8bvqfhwkm9sGIWstaNzVVDrk3Gfc 4HfApTjXNw1ZTCWmJ0FAeRnkHYO+PYw9Y1bnOO7XTTSu7I3cmZURhz7LDp89osX8BkRA 13Dg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZ+VsAOE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-83767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z11-20020ac8710b000000b0042e7bbade88si6169019qto.115.2024.02.27.09.48.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 09:48:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FZ+VsAOE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-83767-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83767-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8D7191C237CE for ; Tue, 27 Feb 2024 17:48:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 01A454EB45; Tue, 27 Feb 2024 17:48:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FZ+VsAOE" 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 221E34D9EF; Tue, 27 Feb 2024 17:48:19 +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=1709056100; cv=none; b=RRiCaSH0bMQMbe4ztVhugTj5S4PG/g5SnVybl/bQORaTTAJZwwE6raxr99rrM14oBl7YlVQT+SLBsAfifvkyoXbBXqENsIVmN6eAVafrWkeEQwQHmSMeKypCtqtYpHQm68lanZvRy1/fIw/6PrEbQy5D46mVB8Hn543OyiXHOJ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709056100; c=relaxed/simple; bh=vqVV7Q6iDsLx5qklxPAuR/oFiUFjZboKbfskVrbCEvM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Di0ozncJHQ7+KsCm228yA6IgSoKkKlW1oCrlJut1HOeoEC7jQfLrtg9q197o2nVTVUs7uha/VGbrz+YoqIJhFQwXA06C5tLgsMtu4mvEZd8aiDdmLCihdnB9B3DweF11W+A3uD9kuPB8Gd/QMitbiFuH9DttQ/Pa+cdZtFhxvaI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FZ+VsAOE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1006FC433F1; Tue, 27 Feb 2024 17:48:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709056099; bh=vqVV7Q6iDsLx5qklxPAuR/oFiUFjZboKbfskVrbCEvM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FZ+VsAOEHbkx5hOfvTbD//Vs8qW6bN16Q/HHv4tMM0fDkjodurawCRBW7cFonQzEs IFkNXUgqBaNE2rJeh04+ts+m+MO9JVPbAGbOASIT4TbJe96Vx+qjC7lYvm3WaaA67j +uZ+t80GhRYUGt5PDIT/OLk/bUMJP3xDg4QkIetzvG7XbHL+l21S2uMLivrsG3wQYn hvDmGquiGDG+YA1fFY+OftJwsZxsj8xpc5Geez8EH7PtAJ1D4GAio5XcJaVNOJYYqw IPFwJp2AtMxz3vvtU5fGjjsIusPWbTcwFlPuGIg/paBCSpw3FYh8owFaln8YtOvSXb 5YfLDv+0KKh0Q== Date: Tue, 27 Feb 2024 17:48:13 +0000 From: Conor Dooley To: Miguel Ojeda Cc: Conor Dooley , linux-riscv@lists.infradead.org, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Nathan Chancellor , Nick Desaulniers , Tom Rix , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH v2 2/3] scripts: generate_rust_target: enable building on RISC-V Message-ID: <20240227-timothy-jailbreak-01a9c29f3607@spud> References: <20240223-leverage-walmart-5424542cd8bd@spud> <20240223-employee-pessimism-03ba0b58db6b@spud> <20240227-resolved-deceit-4a59a6af5b71@wendy> <20240227-glove-underwire-f562a56cf2c7@wendy> <20240227-swarm-serpent-2010b255f68a@wendy> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HLwnto9vtQo8Qlhz" Content-Disposition: inline In-Reply-To: --HLwnto9vtQo8Qlhz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 27, 2024 at 03:47:29PM +0100, Miguel Ojeda wrote: > Did you try `-Ctarget-feature=-c`? i.e. as far as I know, you can > disable target features even if they are enabled from the built-in. No, I didn't actually try anything. Between trying to test the kcfi stuff on arm64 and the other work I was doing today I did not have a chance to actually play with that yet. It comes down to you though I suppose - would you rather have generate_rust_target enable the compressed instructions depending on the config option or have the Makefile disable it if compressed instructions are not enabled and use a builtin target? --HLwnto9vtQo8Qlhz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZd4gXQAKCRB4tDGHoIJi 0qMjAP0QH2pw1S7rVHMB//QCHRoc1Q1qUwE8y0pNpZHyVjD8OQD/ekogh4n6204O zUuaAfehnQuM33Z8WdSbEvMGxwhNhw8= =jIbt -----END PGP SIGNATURE----- --HLwnto9vtQo8Qlhz--