diff options
author | Mossa Merhi Reimert <cgmossa@gmail.com> | 2020-05-01 18:37:46 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2020-05-03 16:23:09 +0200 |
commit | c342ddd5c2402b3e614d057fcc775260deab3cd5 (patch) | |
tree | 98a95a30583581fc3935a538e015d23f5ece9a5d | |
parent | 09a956866e5362bb5d6b30285651244fb1a90eee (diff) |
Update requirements.md
I was having trouble figuring out how to install Clang for bindgen, and this helped right away.
-rw-r--r-- | book/src/requirements.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/book/src/requirements.md b/book/src/requirements.md index 8ee4f298..8a959779 100644 --- a/book/src/requirements.md +++ b/book/src/requirements.md @@ -26,7 +26,12 @@ Download and install the official pre-built binary from You will also need to set `LIBCLANG_PATH` as an [environment variable](https://www.techjunkie.com/environment-variables-windows-10/) pointing to the `bin` directory of your LLVM install. For example, if you installed LLVM -to `D:\programs\LLVM`, then you'd set the value to be `D:\programs\LLVM\bin` +to `D:\programs\LLVM`, then you'd set the value to be `D:\programs\LLVM\bin`. + +Alternatively, for Mingw64, you can install clang via +```bash +pacman -S mingw64/mingw-w64-x86_64-clang +``` #### macOS |