Skip to content

Commit 0c44732

Browse files
authored
Explain how to solve missing dll's on Windows
cc #1736
1 parent 0ee76be commit 0c44732

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,14 @@ On MacOS:
229229
export DYLD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$DYLD_LIBRARY_PATH
230230
```
231231

232+
On Windows (Git Bash/Mingw):
233+
234+
```
235+
export PATH=$(rustc --print sysroot)/lib/rustlib/x86_64-pc-windows-gnu/lib/:$PATH
236+
```
237+
238+
(Substitute `x86_64` by `i686` and `gnu` by `msvc` depending on which version of rustc was used to install rustfmt).
239+
232240
## License
233241

234242
Rustfmt is distributed under the terms of both the MIT license and the

0 commit comments

Comments
 (0)