Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5514781rdb; Wed, 13 Dec 2023 10:45:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IE90N60/42akoBwVbwIEurqUoHSo7TTpia+xub82/xgtWM9s/Psq1JN2C2xdPTi+GE0cBWV X-Received: by 2002:a05:6a20:a891:b0:18f:e773:5c52 with SMTP id ca17-20020a056a20a89100b0018fe7735c52mr8622638pzb.34.1702493150319; Wed, 13 Dec 2023 10:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702493150; cv=none; d=google.com; s=arc-20160816; b=VXVy8ex0gyMGuq/RWW3xy2spBt02Kr1xhxULCgSIkZVZtbl2FtwqGevFT7vQcXjJfI lFyuyCE/0gcMtDJCc6s9dZ3wusf8ArDXnAC4LGK+5SKIxjppayXT70uErdUdKtMkbxST 7Zik4Eyn0IpFYat/h3qve80yd8j7/CxWwqWbQ0T7fzaWIboUDdZr9f5GUHmdC+z8XMhk lUo6cIYPHtl/dfYVENc2aWBail8L0vWd9xdm63qGSNQBi2PeDRmvMUTPGZL/XnYXrl2/ C1VIceAcIj8rcnZ9c5oQpE6oYV+9huKkYiaf0v+5WFOXDt3+8R88qPLP00SQehPdGxWU 4A8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=8kdpPGKT7W/htzVmzX+GVwFRmAQOFC9bkN2uytvBCpY=; fh=aZ/+tBwr5Dg7uCS37SqpfRPRy+SqAlYv9U53MXgEAPU=; b=nOsOS1IU+xSlM5ed033ycVP3jFBQoFj8ICZUq3b1Nj/KjMUq0vBJesD/r78pNVvig4 X5oF1xhculRRbefsts972Ss0l38S1yFsSmq0VoJcf4T9jZ3CcrqM5ij9uyfmCIKy7UL8 2MD0LnK2DFvL8fY63poZDn0jtB72joK38wfHtKtEU+unZT0T2NOhKMofn4uRySmX7/R+ TTXUKB+on22FHGEmvtKUleyW5JUH4MGsbDIUO1jEwCp5AaOMI86FjztfOwxIt5H5PJhG DxpxaJB1h0w5Q+Vrq+2b91cVty9YHSbm86Sf0ztEQ1sUNjJ2E91HmWMRmsRpDH06OdK2 HmPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SoAUaShD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id s1-20020a6550c1000000b005c688ef7549si9766165pgp.98.2023.12.13.10.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 10:45:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SoAUaShD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 912AD81C0C3F; Wed, 13 Dec 2023 10:45:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379079AbjLMSpc (ORCPT + 99 others); Wed, 13 Dec 2023 13:45:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233651AbjLMSpa (ORCPT ); Wed, 13 Dec 2023 13:45:30 -0500 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50226DD; Wed, 13 Dec 2023 10:45:37 -0800 (PST) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-5e266e8d39eso17185567b3.1; Wed, 13 Dec 2023 10:45:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702493136; x=1703097936; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8kdpPGKT7W/htzVmzX+GVwFRmAQOFC9bkN2uytvBCpY=; b=SoAUaShDUQms2iEQcsW5Z8V3Nl+h37bJJ/bFjMIA2AiD8cuZb3ooj3B3G6PJ97icmq prLUdZqqRX8rgd4pU+cxBhHjiy1rsukyzVRbQKJQY1J4EB1GzyFcsalxpMjgZOuO3wLS ZsEOBnlf8W4kUNS/NNJvKaRpslYl9Hy50zn2g0DZOP4Yb4gp18vRBtblgGg5AQI7Dp/J jYfTzAelfCPPsnLcVr16PjrC2Uc+phzaiCxopCNNWKSRw25U7YtUS4YWADy1ygZBzumk ERNrKJnbHAkciF/ItWnMA0W9/tJ/FHfzj41rgs9hEzuwR5lu7ac163JdhPp9fiP+wzak KOPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702493136; x=1703097936; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8kdpPGKT7W/htzVmzX+GVwFRmAQOFC9bkN2uytvBCpY=; b=VQfa5JhGUl8chBe3z5P9g2sVvqeNHixFGbUZMleVY+ire5LdSo3JewFwrkdfzyzMe+ ta4vA74ePmV4sKceH6MkGWROnTyF6ozcXq5WprEeg7ZsF98rW2L2+yrA4LHYhniYLg0h 9G1LqGjNNKshIg8f3ZrJMPzbv+AhY5KBLIsWMvVyrcR9oSwHSPwDt+91XKSboCj9gLsw 33pYnKCb1nM8f+dhCbPpst6pRlYYxGicn6Sydq27KWGkMHHaXUr58n6Y0WdiKhVq2CG6 1Iow7OdmuJRGoMso0tKw2qDPCcT97o7g2Z+9GUrmXWMoV8ZrKUsxJUBqzwp+V/ynM7PE LE1A== X-Gm-Message-State: AOJu0YzbNstYdgPC9VZJPTtotU8C5H+SEnzjab9uaBr49a8s2/KA4hTG 2+9XhoH8utjEE1dIFeX6lPbiDu9LMf8vr8Kked0= X-Received: by 2002:a0d:c344:0:b0:5d7:1941:2c19 with SMTP id f65-20020a0dc344000000b005d719412c19mr6456637ywd.70.1702493136530; Wed, 13 Dec 2023 10:45:36 -0800 (PST) MIME-Version: 1.0 References: <20231031201752.1189213-1-mmaurer@google.com> In-Reply-To: <20231031201752.1189213-1-mmaurer@google.com> From: Miguel Ojeda Date: Wed, 13 Dec 2023 19:45:25 +0100 Message-ID: Subject: Re: [PATCH] rust: Suppress searching builtin sysroot To: Matthew Maurer Cc: Jamie.Cunliffe@arm.com, Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Masahiro Yamada , will@kernel.org, Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , Alice Ryhl , Nathan Chancellor , Nick Desaulniers , Nicolas Schier , rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Dec 2023 10:45:46 -0800 (PST) On Tue, Oct 31, 2023 at 9:18=E2=80=AFPM Matthew Maurer = wrote: > > By default, if Rust is passed `--target=3Dfoo` rather than a target.json > file, it will infer a default sysroot if that component is installed. As > the proposed aarch64 support uses `aarch64-unknown-none` rather than a > target.json file, this is needed to prevent rustc from being confused > between the custom kernel sysroot and the pre-installed one. > > Signed-off-by: Matthew Maurer Applied to `rust-next`. I added Boqun's fix for `rusttest` as well as a fix for `rustdoc` (which requires a conditional for host crates like `macros`); and added a couple `Links` to the arm64 discussions. I would appreciate extra testing for this one (please use `rust-next` commits in that case). Thanks everyone! Cheers, Miguel