Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6600632rdb; Fri, 15 Dec 2023 03:24:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1K6r2OBCRkS2voNNxxOKAkzlvb7th3ifiPz+qZ/ypAJlKW5umwDNLOKO5VolL4+s9JQMq X-Received: by 2002:a17:907:280f:b0:a1f:4d21:301a with SMTP id eb15-20020a170907280f00b00a1f4d21301amr12325637ejc.13.1702639487249; Fri, 15 Dec 2023 03:24:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702639487; cv=none; d=google.com; s=arc-20160816; b=0qanAu3sQ80vFxMiBzw554Abw5TUnyCnUUvJ3TXCQ3tLwZB1eXlrIz52BbFWENxZgY BHHhnryFSsM+L7SYogLZDLY/FDXb/xPqQVWTI23mAuml4hGCXJKtEc2wLlyUPhqKKLBT hVsWouyXkzEgB/aurgwSa+qTal7lFdev+sPG8q1p+Ti9MuumMSevrc9mpCKcCMcWo3hH LSp+oJBgQvpJsrgevzpSMzSRh3Ymso4XSCNvAszRuQga08j4RO5gSmj9oGGn7liI0Baz L6TbBwqt7OsG2JDD+8iZJEG5S94ESY17k4xP1mVAf44MeGNlJbnPNa2Ni1DIvze3YX/X Xp/A== ARC-Message-Signature: i=1; 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=8GgkumGp/FPRWi8vrZgqlN3O931tkPc+89ybT2NhK6s=; fh=euywl0gOv4k+7sGzApHJ0Glf+lJgsZcVnAcHp+v2CBA=; b=qFsoaJId/IBATTGABCQnHrJttKBo8NBP3YKnOh0YCbjyEbNCMpQY6AG513j1Ovxy0S tBlmykqSJMkefYeGcaCTVKGTtlPzmj4f+6A0u/lT7fjnzG+rixl0UsQEf+GWB9OIke+f N65pMx7GEs5kYOxEKGViXmMsMYsAA6pgaq3YgIk+izVTzn0iVea185Me4BMQTQKTKOcX 9AR3QlH45ECRFgC7RfO7+H5sZdFM7B/9QxE+kOEZ3ielreabnFA69ExT8mqsfJAWVlTZ CQAJ1j8QqcjDuSnjF7oh1BxX/3l2shGvCpf+S5UW5olMz8DNnATXJQgtHF+SdrOoegQg +jDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AcJG9psP; spf=pass (google.com: domain of linux-kernel+bounces-830-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-830-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 30-20020a508e5e000000b005529a6a6426si711730edx.287.2023.12.15.03.24.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 03:24:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-830-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AcJG9psP; spf=pass (google.com: domain of linux-kernel+bounces-830-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-830-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 055911F23008 for ; Fri, 15 Dec 2023 11:24:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C45625555; Fri, 15 Dec 2023 11:24:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="AcJG9psP" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pl1-f169.google.com (mail-pl1-f169.google.com [209.85.214.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74AE024A15 for ; Fri, 15 Dec 2023 11:24:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pl1-f169.google.com with SMTP id d9443c01a7336-1d3470496e2so4385155ad.1 for ; Fri, 15 Dec 2023 03:24:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702639461; x=1703244261; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8GgkumGp/FPRWi8vrZgqlN3O931tkPc+89ybT2NhK6s=; b=AcJG9psP4sMMUOU8cLZedY3WASC0EQr0JWA39nwMNY3LscqUwG55hwPPTf8vgSyyG8 wWCH1rKieUrjp15SpwxY9LfB5pkOaA0wWMaLS3ibW7jficCQPJ6eLjBYQn98Zq0rRxET p0T/ZIqSjrOg9exOL6pPgjSOcFy36ZjWNdBP9ys6OXlmv2CQ2MraVSV2T1k79iEZqBGg xwjcMaHSPO+eY53N2ge+bdon2jBE8JQLb27/fh1ypx4UfzwQWRnW6nYCIz+6Roz5U10h C1arWNojkWYYOKGXQOKDDqjWNEhFF6fd0Qxv3Ejwcys+Qbmg5H7Y0lilu9qTZfhUSvTv 6pCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702639461; x=1703244261; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8GgkumGp/FPRWi8vrZgqlN3O931tkPc+89ybT2NhK6s=; b=I/r0FBvoVfkT/Y0yhX01J6lASBowFEBsskBXUAW74LOBLkyqUlbFhObNcIn0C8SOV3 3qglhd4/2I6x5F3etPiAF7SyNOlQbrO8uu8+DjHKBbaKwzghrAdrP1FJc+KsNB+NbImj PDXwbTvNZOa+rK8zjaPxs0ctuPH42PVmWoCkQSLp6nvEYyZOI2n0dAdOqEMnFwmdSkPw +R5R6L9ii9kYyedxGeDEYjiHO3TcOJODF43A5cT1jgeJ5hy5KqJqK8POgil0YpnO/8Pn K/2v6KfK15Nt1XGFeR1YTGszX5y2KYg1Hk185VwoU20g7btGbhSiZkRndcixA3ODkj3a Z0Lw== X-Gm-Message-State: AOJu0YxXwLkNRrzGEjizPiAfJXr3LtlCMT0CnXOK6I37SWSw+D92zvW7 C5d4rOILxB3DIP3IZaRNHUYYog== X-Received: by 2002:a17:903:32ce:b0:1d3:6110:32fa with SMTP id i14-20020a17090332ce00b001d3611032famr4422003plr.67.1702639460881; Fri, 15 Dec 2023 03:24:20 -0800 (PST) Received: from localhost ([122.172.82.6]) by smtp.gmail.com with ESMTPSA id w23-20020a170902a71700b001d0c418174fsm8243159plq.117.2023.12.15.03.24.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Dec 2023 03:24:20 -0800 (PST) Date: Fri, 15 Dec 2023 16:54:18 +0530 From: Viresh Kumar To: Tiago Lam Cc: Miguel Ojeda , Miguel Ojeda , Alex Gaynor , Wedson Almeida Filho , Boqun Feng , Gary Guo , =?utf-8?B?QmrDtnJu?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Jonathan Corbet , Vincent Guittot , rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] docs: rust: Clarify that 'rustup override' applies to build directory Message-ID: <20231215112418.usky65sibhbiubyx@vireshk-i7> References: <1c03eb18-a6ac-45c8-8fea-46097bb4e132@gmail.com> <20231215064823.ltm55fk4zclsuuwq@vireshk-i7> Precedence: bulk X-Mailing-List: linux-kernel@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: On 15-12-23, 11:14, Tiago Lam wrote: > If ``rustup`` is being used, enter the checked out source code directory, > or your build directory (if you're using the `O=` option to build the > kernel), and run:: I thought people aren't required to enter the build directory now (but just source code directory) and simply do: make LLVM=1 O= rustupoverride > > make LLVM=1 rustupoverride Will this still work if we are in the build directory ? > This will configure your current directory to use the correct version of > ``rustc`` without affecting your default toolchain. > > If you are not using ``rustup``, fetch a standalone installer from: > > https://forge.rust-lang.org/infra/other-installation-methods.html#standalone -- viresh