Skip to content

Commit 5992325

Browse files
committed
Add notes about 32 vs 64 bit Windows
1 parent 0017bfa commit 5992325

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Diff for: README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,17 @@ To easily build on windows we can use [MSYS2](http://msys2.github.io/):
6464
2. Now from the MSYS2 terminal we want to install the mingw64 toolchain and the other
6565
tools we need.
6666

67-
$ pacman -S mingw-w64-i686-toolchain
68-
$ pacman -S base-devel
67+
```bash
68+
# choose one based on platform
69+
$ pacman -S mingw-w64-i686-toolchain
70+
$ pacman -S mingw-w64-x86_64-toolchain
6971

70-
3. With that now start `mingw32_shell.bat` from where you installed MSYS2 (i.e. `C:\msys`).
72+
$ pacman -S base-devel
73+
```
74+
75+
3. With that now start `mingw32_shell.bat` or `mingw64_shell.bat`
76+
from where you installed MSYS2 (i.e. `C:\msys`). Which one you
77+
choose depends on if you want 32 or 64 bit Rust.
7178
4. From there just navigate to where you have Rust's source code, configure and build it:
7279

7380
$ ./configure

0 commit comments

Comments
 (0)