On Tue, Aug 23, 2022 at 2:12 PM Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > For instance, using the test header to print the libclang version, > this works for me: > > $ bindgen scripts/rust_is_available_bindgen_libclang.h > ... clang version 14.0.6 (https://github.com/llvm/llvm-project.git ... > > $ LIBCLANG_PATH=.../libclang-6.0.so.1 \ > bindgen scripts/rust_is_available_bindgen_libclang.h > ... clang version 6.0.0 (tags/RELEASE_600/final) ... By the way, a while ago I requested an easier way to check the libclang version directly from bindgen, and Emilio quickly added it (thanks a lot!): since `bindgen` 0.60.0 you can do: $ bindgen --version --verbose bindgen 0.60.0 Clang: clang version 14.0.6 (https://github.com/llvm/ ... Cheers, Miguel