Skip to content

Commit e9d0a38

Browse files
authored
Merge pull request #744 from brson/winreadme
Clarify how rustup toolchain installation works on Windows
2 parents fcc0396 + 66561df commit e9d0a38

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,14 @@ Command | Description
461461
The primary installation method, as described at
462462
[www.rustup.rs](https://www.rustup.rs), differs by platform:
463463

464-
* On Windows, download and run the [rustup-init.exe for the
465-
`i686-pc-windows-gnu` target][setup]. Although this build of
466-
`rustup` installs compilers targeting the GNU ABI by default,
467-
compilers targeting the MSVC ABI can be installed with e.g. `rustup
468-
install stable-msvc`.
464+
* On Windows, download and run the [rustup-init.exe built for
465+
`i686-pc-windows-gnu` target][setup]. Despite being built against the GNU
466+
toolchain, _the Windows build of rustup will install Rust for the MSVC
467+
toolchain if it detects that MSVC is installed_. If you prefer to install GNU
468+
toolchains or x86_64 toolchains by default this can be modified at install
469+
time, either interactively or with the `--default-host` flag, or after
470+
installation via `rustup set default-host`. In general, this is the build
471+
of rustup one should install on Windows.
469472
* On Unix, run `curl https://sh.rustup.rs -sSf | sh` in your
470473
shell. This downloads and runs [`rustup-init.sh`], which in turn
471474
downloads and runs the correct version of the `rustup-init`

0 commit comments

Comments
 (0)