From: Trevor Gross Date: Thu, 3 Aug 2023 06:04:37 +0000 (-0400) Subject: docs: rust: clarify what 'rustup override' does X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2285eb2f2429;p=linux.git docs: rust: clarify what 'rustup override' does 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 Link: https://lore.kernel.org/r/20230803060437.12157-3-tmgross@umich.edu [ Undid the `:` to `::` change. ] Signed-off-by: Miguel Ojeda --- diff --git a/Documentation/rust/quick-start.rst b/Documentation/rust/quick-start.rst index a0a47a6f216b5..f382914f41917 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