Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1831742rwo; Wed, 2 Aug 2023 23:44:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlHO7OQPmnq6qWz4qAIcFqduE0yYV+bqHKmmpTzc5oyPBliQJ9onUpUtTL8hSe7Sr9sSAfTJ X-Received: by 2002:a05:6402:51d2:b0:51e:588b:20ca with SMTP id r18-20020a05640251d200b0051e588b20camr9943664edd.8.1691045056164; Wed, 02 Aug 2023 23:44:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691045056; cv=none; d=google.com; s=arc-20160816; b=Kg4I4S1iwlJr1cNTTuJUJRAxhUFzFipT2X7uMZ8zqn4EVl3XxlKLyRXa4/7m8v+icJ V/PksZ8wUMuF8qVY9dwLA2NHtZVtxAX7g4I/Q4EpmQkSyq9OyKBMra2tqFwPbBOTbBek 3kXxxXKbbtQAyyVk9VAw7Xwudfqn+bXmqyTomijSOATCvdULH9dfqq0Mp2it444nbOGH I5g1+bf5BYXTtUQdDnOU1IYcAt0JtqEr+/RRIJtcfzmh9GmlrwhPGnftIGPjLCXclQ8v I2weG5IFNdo8oGF5KxyVvD3Vxo7K7N2wolkC3B3Y/GAJhL5t7bnO/6LFpAf+aG+un154 z+Eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5mhAm6jPr/dCTY1x65fzBu3cjprRxi0dMZQP4F4Gdnw=; fh=ibd5X+lewD1bedbxdkuA/HvSHaEGSODQRWT1jMxtodg=; b=xIbL1Jnu+hfigKk5qOuGn6dpQJxQSiAXvFDVDx/oXEIpszE3n1y3pRrKiW7AJEAdjJ 5bmEgzAsB8k0s4erStneIwLz9uOn2n+IXTrb6SSyF9ilP8FcuJ92sf+zE0biEksnJ7Kp e4xjLtwUKtrK4RrRaw6c+xL7TX/RhFs6nmcY9X1eNBeMehK5AAsCIRHc4C0dSucIF9Yi q/sNJoGoOLlL5PID7WwsmirGNZKb09rDmRiSAFughoHEW9HPBUWMhsp7uACzdcckyCZj /rWDuopKk6npf6eZBzwg9gFX9+GkXf5PLvbowK8GjJNzXOH1TOl4VE43ja56z6uyLMnR B8oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=relay-2018-08-29 header.b=F4RkUMbH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v1-20020aa7cd41000000b0052309c467c6si1157037edw.211.2023.08.02.23.43.51; Wed, 02 Aug 2023 23:44:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@umich.edu header.s=relay-2018-08-29 header.b=F4RkUMbH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233022AbjHCGXX (ORCPT + 99 others); Thu, 3 Aug 2023 02:23:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232987AbjHCGXT (ORCPT ); Thu, 3 Aug 2023 02:23:19 -0400 Received: from suitable-modron.relay-egress.a.mail.umich.edu (relay-egress-host.us-east-2.a.mail.umich.edu [18.219.209.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56DD110FB; Wed, 2 Aug 2023 23:23:18 -0700 (PDT) Received: from commutual-kasha.authn-relay.a.mail.umich.edu (ip-10-0-74-76.us-east-2.compute.internal [10.0.74.76]) by suitable-modron.relay-egress.a.mail.umich.edu with ESMTPS id 64CB43C7.259FD9A9.11B72FB0.1872949; Thu, 03 Aug 2023 02:05:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=relay-2018-08-29; t=1691042758; bh=5mhAm6jPr/dCTY1x65fzBu3cjprRxi0dMZQP4F4Gdnw=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=F4RkUMbHqeRV0+qBRUfrjUn4YYQDLXNfl2anDyGZTgPxCfup1W+MEisRJqPV/DgrS 2ciASMFfSQeJZCXGiEpC3vlhS6dkBYId10wcN4Ll8aiYm3ZocNx6cdNPf3yDmd3Tfp +HBtPl33TNsDN/ewQ4f55j0gEBwdpyq8strJ/K8UeG8t/OTx9IxeOjTYyjSnC/2nAi 9tbrAXnsBD0Lpbv/RiecO8hvIJ4MDcGLYbU8EJHG6FvyqNH0OGo6ptyvjZkg5ezBeA uGaZdE/42z8/SFNObCWmBsR8aDMVOR5Wve9vRuzTKUSvN2JjtJRwTyiOIhHCX/8oc+ 2Oy2UOFZ/E05g== Authentication-Results: commutual-kasha.authn-relay.a.mail.umich.edu; iprev=permerror policy.iprev=68.32.216.219 (unknown); auth=pass smtp.auth=tmgross Received: from localhost.localdomain (unknown [68.32.216.219]) by commutual-kasha.authn-relay.a.mail.umich.edu with ESMTPSA id 64CB43C6.27F6E04.7CEFCF81.2496870; Thu, 03 Aug 2023 02:05:58 -0400 From: Trevor Gross To: ojeda@kernel.org, alex.gaynor@gmail.com, wedsonaf@gmail.com Cc: boqun.feng@gmail.com, gary@garyguo.net, bjorn3_gh@protonmail.com, benno.lossin@proton.me, corbet@lwn.net, yakoyoku@gmail.com, aliceryhl@google.com, tmgross@umich.edu, linux-doc@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] docs: rust: clarify what 'rustup override' does Date: Thu, 3 Aug 2023 02:04:37 -0400 Message-Id: <20230803060437.12157-3-tmgross@umich.edu> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230803060437.12157-1-tmgross@umich.edu> References: <20230803060437.12157-1-tmgross@umich.edu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The behavior of 'rustup override' is not very well known. Add a small note about what it does, so users have a better understanding of how it affects their system toolchain (i.e., it does not affect system toolchain and only sets a directory-specific override). Signed-off-by: Trevor Gross Reviewed-by: Martin Rodriguez Reboredo Reviewed-by: Alice Ryhl --- Documentation/rust/quick-start.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst index 632b115dd20d..0612ea517bc1 100644 --- a/Documentation/rust/quick-start.rst +++ b/Documentation/rust/quick-start.rst @@ -38,7 +38,9 @@ and run:: rustup override set $(scripts/min-tool-version.sh rustc) -Otherwise, fetch a standalone installer from: +This will configure your working 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 -- 2.34.1