]> git.lizzy.rs Git - rust.git/blobdiff - README.md
Add a test for issue 1211, showing it's no longer an issue.
[rust.git] / README.md
index f7efdfeb2664792ca5a9a5f1ca2193c86380174c..1fc7275dd96d14db144c01f50db93c7fa8db38b7 100644 (file)
--- a/README.md
+++ b/README.md
@@ -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