File tree 1 file changed +11
-4
lines changed
1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -58,16 +58,23 @@ documentation.
58
58
59
59
### Building on Windows
60
60
61
- To easily build on windows we can use [ MSYS2] ( http://sourceforge.net/projects/ msys2/ ) :
61
+ To easily build on windows we can use [ MSYS2] ( http://msys2.github.io / ) :
62
62
63
63
1 . Grab the latest MSYS2 installer and go through the installer.
64
64
2 . Now from the MSYS2 terminal we want to install the mingw64 toolchain and the other
65
65
tools we need.
66
66
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
69
71
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.
71
78
4 . From there just navigate to where you have Rust's source code, configure and build it:
72
79
73
80
$ ./configure
You can’t perform that action at this time.
0 commit comments