Install Rust
- Prepare a working MSYS2 environment
- Open
MSYS2
terminal and type:pacman -S mingw-w64-clang-x86_64-rust mingw-w64-clang-x86_64-rust-src
- Download installer for Windows from here
-
Launch the installer and answer the questions as described below:
-
Continue (y/N)?
-> answeryes
- Select the option
Customize installation
(option2
) - Set the host triple to
x86_64-pc-windows-gnu
- Select the
stable
toolchain - Use the
default
profile - When asked to modify the
PATH
variable, answern
- And finally, proceed with the installation (
1
)
- Download installer for Windows from here
- Accept all the defaults by hitting Enter