Skip to content

Commit c78726e

Browse files
author
Joe Chung
committed
Update README with prequisites for Windows
1 parent 27bf1d7 commit c78726e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@ MIT
1010

1111
[json.org](http://json.org)
1212

13+
## Prerequisites (Windows)
14+
15+
To ensure `cargo install` works for all dependencies, you must install `mingw-w64` and the required toolchain:
16+
17+
1. Download and install [MSYS2](https://www.msys2.org/).
18+
19+
2. Open the MSYS2 terminal and run:
20+
21+
```sh
22+
pacman -Syu
23+
pacman -S mingw-w64-x86_64-toolchain
24+
```
25+
26+
3. Ensure the MSYS2 `mingw64` environment is in your PATH, or use the `MSYS2 MinGW 64-bit` terminal for building Rust projects.
27+
28+
This will provide `dlltool.exe` and other tools needed for compiling certain crates.
29+
1330
## Build
1431

1532
```sh

0 commit comments

Comments
 (0)