From c342ddd5c2402b3e614d057fcc775260deab3cd5 Mon Sep 17 00:00:00 2001 From: Mossa Merhi Reimert Date: Fri, 1 May 2020 18:37:46 +0200 Subject: [PATCH] Update requirements.md I was having trouble figuring out how to install Clang for bindgen, and this helped right away. --- book/src/requirements.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/book/src/requirements.md b/book/src/requirements.md index 8ee4f2986c..8a9597799f 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