Skip to content

Commit 00d459a

Browse files
authored
Update MinGW instructions to include ninja
Added the `mingw-w64-x86_64-ninja` package to the build guide for MinGW, as well as a note not to use the `ninja` package from the `msys2` subsystem (doesn't handle paths correctly on windows).
1 parent 36b0d7e commit 00d459a

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)