Skip to content

Commit

Permalink
Rephrase Windows installation instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
Alovchin91 committed May 29, 2024
1 parent 240d647 commit 869822d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions doc/user-guide/src/installation/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@
The primary installation method, as described at <https://rustup.rs>, differs
by platform:

* On Windows, download and run the [`rustup-init.exe` built for the
`x86_64-pc-windows-msvc` target][setup]. In general, this is the build of
`rustup` one should install on Windows. This will require the Visual C++
* On Windows, download and run the `rustup-init.exe` built for the
[`x86_64-pc-windows-msvc`] or [`aarch64-pc-windows-msvc`] target.
In general, this is the build of `rustup` one should install on Windows,
depending on the OS architecture. This will require the Visual C++
Build Tools 2019 or equivalent (Visual Studio 2019, etc.) to already be
installed. If you would prefer to install GNU toolchains or the i686 or aarch64
installed. If you would prefer to install GNU toolchains or the i686
toolchains by default this can be modified at install time, either
interactively, with the `--default-host` flag, or after installation
via `rustup set default-host`.
* On Unix, run `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` in your shell. This
downloads and runs [`rustup-init.sh`], which in turn downloads and runs the
correct version of the `rustup-init` executable for your platform.

[setup]: https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
[`x86_64-pc-windows-msvc`]: https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
[`aarch64-pc-windows-msvc`]: https://static.rust-lang.org/rustup/dist/aarch64-pc-windows-msvc/rustup-init.exe
[`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh

`rustup-init` accepts arguments, which can be passed through the shell script.
Expand Down

0 comments on commit 869822d

Please sign in to comment.