What is the preferred way to query bindgen about what is the LLVM / libclang version being effectively used/found?
One way is passing bindgen this header or similar:
#pragma message __clang_version__
But ideally, one could query the version with something like:
bindgen --version --verbose
which would print an extra line:
like rustc does. Possibly with other extra information (e.g. the path to the library instead of just the version, whether it was set at runtime via CLANG_PATH...).
Apologies if I missed any obvious way in the documentation and/or existing issues.
What is the preferred way to query
bindgenabout what is the LLVM /libclangversion being effectively used/found?One way is passing
bindgenthis header or similar:#pragma message __clang_version__But ideally, one could query the version with something like:
which would print an extra line:
like
rustcdoes. Possibly with other extra information (e.g. the path to the library instead of just the version, whether it was set at runtime viaCLANG_PATH...).Apologies if I missed any obvious way in the documentation and/or existing issues.