|
3 | 3 | The primary installation method, as described at <https://rustup.rs>, differs
|
4 | 4 | by platform:
|
5 | 5 |
|
6 |
| -* On Windows, download and run the [rustup-init.exe built for |
7 |
| - `i686-pc-windows-gnu` target][setup]. In general, this is the build of |
8 |
| - `rustup` one should install on Windows. Despite being built against the GNU |
9 |
| - toolchain, _the Windows build of `rustup` will install Rust for the MSVC |
10 |
| - toolchain if it detects that MSVC is installed_. If you prefer to install |
11 |
| - GNU toolchains or x86_64 toolchains by default this can be modified at |
12 |
| - install time, either interactively or with the `--default-host` flag, or |
13 |
| - after installation via `rustup set default-host`. |
| 6 | +* On Windows, download and run the [`rustup-init.exe` built for the |
| 7 | + `x86_64-pc-windows-msvc` target][setup]. In general, this is the build of |
| 8 | + `rustup` one should install on Windows. This will require the Visual C++ |
| 9 | + Build Tools 2019 or equivalent (Visual Studio 2019, etc.) to already be |
| 10 | + installed. If you would prefer to install GNU toolchains or the i686 |
| 11 | + toolchains by default this can be modified at install time, either |
| 12 | + interactively, with the `--default-host` flag, or after installation |
| 13 | + via `rustup set default-host`. |
14 | 14 | * On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your shell. This
|
15 | 15 | downloads and runs [`rustup-init.sh`], which in turn downloads and runs the
|
16 | 16 | correct version of the `rustup-init` executable for your platform.
|
17 | 17 |
|
18 |
| -[setup]: https://static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe |
| 18 | +[setup]: https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe |
19 | 19 | [`rustup-init.sh`]: https://static.rust-lang.org/rustup/rustup-init.sh
|
20 | 20 |
|
21 | 21 | `rustup-init` accepts arguments, which can be passed through the shell script.
|
|
0 commit comments