Explain how to solve missing dll's on Windows

cc #1736
This commit is contained in:
Markus Westerlind 2017-08-12 09:38:12 +02:00 committed by GitHub
parent 0ee76bec0f
commit 0c44732136

View file

@ -229,6 +229,14 @@ On MacOS:
export DYLD_LIBRARY_PATH=$(rustc --print sysroot)/lib:$DYLD_LIBRARY_PATH
```
On Windows (Git Bash/Mingw):
```
export PATH=$(rustc --print sysroot)/lib/rustlib/x86_64-pc-windows-gnu/lib/:$PATH
```
(Substitute `x86_64` by `i686` and `gnu` by `msvc` depending on which version of rustc was used to install rustfmt).
## License
Rustfmt is distributed under the terms of both the MIT license and the