diff options
author | Darren Kulp <darren@kulp.ch> | 2022-02-01 23:19:43 -0800 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2022-02-18 19:33:25 +0100 |
commit | ddfa28f91f6db2580c2a09c90b06c02455a84229 (patch) | |
tree | 39561ce3019904195ed4daf99a76d9849cdbfaa9 | |
parent | f985aa5f2932f7453b53fe007a3b616d558fac3a (diff) |
docs: Update CONTRIBUTING.md for clang versions
-rw-r--r-- | CONTRIBUTING.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6b6a505..439a18da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -71,7 +71,7 @@ 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 +$ export LIBCLANG_PATH=path/to/clang-9.0/lib ``` Additionally, you may want to build and test with the `testing_only_docs` @@ -195,9 +195,9 @@ can add multiple test expectations, one for each supported `libclang` version. Instead of having a single `tests/expectations/tests/my_test.rs` file, add each of: +* `tests/expectations/tests/libclang-9/my_test.rs` +* `tests/expectations/tests/libclang-5/my_test.rs` * `tests/expectations/tests/libclang-4/my_test.rs` -* `tests/expectations/tests/libclang-3.9/my_test.rs` -* `tests/expectations/tests/libclang-3.8/my_test.rs` If you need to update the test expectations for a test file that generates different bindings for different `libclang` versions, you *don't* need to have |