diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-01-19 11:47:48 -0800 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-01-19 11:47:48 -0800 |
commit | 78235aa0e03774fd8a228ca1741b04241fe94387 (patch) | |
tree | cc78527501dfd75a9e2d959b5e8304cc3efb1ae0 /README.md | |
parent | 0409c2cb10f6827cc711704bc555522d34997d1e (diff) |
Move the building instructions from README.md to CONTRIBUTING.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -212,24 +212,3 @@ the ones that would be generated for `nsTArray_Simple`. The `nocopy` annotation is used to prevent bindgen to autoderive the `Copy` and `Clone` traits for a type. - -## Building From Source - -``` -$ cd bindgen -$ cargo build -``` - -If you installed multiple versions of llvm, it may not be able to locate the -latest version of libclang. In that case, you may want to either uninstall -other versions of llvm, or specify the path of the desired libclang explicitly: -``` -$ export LIBCLANG_PATH=path/to/clang-3.9/lib -``` - -On Linux and macOS, you may also need to add a path to `libclang.so` (usually -the same path as above) to library search path. This can be done as below: -``` -$ export LD_LIBRARY_PATH=path/to/clang-3.9/lib # for Linux -$ export DYLD_LIBRARY_PATH=path/to/clang-3.9/lib # for macOS -``` |