Skip to content

Commit bd91b08

Browse files
authored
Rollup merge of #76134 - CDirkx:patch-1, r=nagisa
Update MinGW instructions to include ninja Rust now requires `ninja` to build, so the MinGW build instructions are updated to reflect this. Like for `python` and `cmake`, the `mingw-w64-x86_64-ninja` package should be used. The default package from the `msys2` subsystem doesn't handle paths correctly on windows.
2 parents f848174 + 00d459a commit bd91b08

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ build.
112112
# Install build tools needed for Rust. If you're building a 32-bit compiler,
113113
# then replace "x86_64" below with "i686". If you've already got git, python,
114114
# or CMake installed and in PATH you can remove them from this list. Note
115-
# that it is important that you do **not** use the 'python2' and 'cmake'
115+
# that it is important that you do **not** use the 'python2', 'cmake' and 'ninja'
116116
# packages from the 'msys2' subsystem. The build has historically been known
117117
# to fail with these packages.
118118
$ pacman -S git \
@@ -121,7 +121,8 @@ build.
121121
tar \
122122
mingw-w64-x86_64-python \
123123
mingw-w64-x86_64-cmake \
124-
mingw-w64-x86_64-gcc
124+
mingw-w64-x86_64-gcc \
125+
mingw-w64-x86_64-ninja
125126
```
126127
127128
4. Navigate to Rust's source code (or clone it), then build it:

0 commit comments

Comments
 (0)