Closed
Description
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:
LLVM version: 13.0.0
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.
Metadata
Metadata
Assignees
Labels
No labels