You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6
Original file line number
Diff line number
Diff line change
@@ -75,13 +75,13 @@ build.
75
75
$ pacman -Sy pacman-mirrors
76
76
```
77
77
78
-
Download [MinGW from
79
-
here](http://mingw-w64.org/doku.php/download/mingw-builds), and choose the
80
-
`version=4.9.x,threads=win32,exceptions=dwarf/seh` flavor when installing. Also, make sure to install to a path without spaces in it. After installing,
81
-
add its `bin` directory to your `PATH`. This is due to [#28260](https://github.com/rust-lang/rust/issues/28260), in the future,
82
-
installing from pacman should be just fine.
78
+
Download [MinGW from
79
+
here](http://mingw-w64.org/doku.php/download/mingw-builds), and choose the
80
+
`version=4.9.x,threads=win32,exceptions=dwarf/seh` flavor when installing. Also, make sure to install to a path without spaces in it. After installing,
81
+
add its `bin` directory to your `PATH`. This is due to [#28260](https://github.com/rust-lang/rust/issues/28260), in the future,
82
+
installing from pacman should be just fine.
83
83
84
-
```
84
+
```sh
85
85
# Make git available in MSYS2 (if not already available on path)
86
86
$ pacman -S git
87
87
@@ -90,6 +90,8 @@ installing from pacman should be just fine.
90
90
91
91
3. Run `mingw32_shell.bat` or `mingw64_shell.bat` from wherever you installed
92
92
MSYS2 (i.e. `C:\msys`), depending on whether you want 32-bit or 64-bit Rust.
93
+
(As of the latest version of MSYS2 you have to run `msys2_shell.cmd -mingw32`
94
+
or `msys2_shell.cmd -mingw64` from the command line instead)
93
95
94
96
4. Navigate to Rust's source code, configure and build it:
0 commit comments