From ddfa28f91f6db2580c2a09c90b06c02455a84229 Mon Sep 17 00:00:00 2001 From: Darren Kulp Date: Tue, 1 Feb 2022 23:19:43 -0800 Subject: docs: Update CONTRIBUTING.md for clang versions --- CONTRIBUTING.md | 6 +++--- 1 file 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 -- cgit v1.2.3