On 9/4/25 7:24 AM, Miguel Ojeda wrote:
Hmm... I am not sure it is a good idea to move that into another
script. Do we really need to intertwine these two scripts? The rename
isn't great either.
Because of adding a new Kconfig symbol for the Rust bindgen libclang
version, then we have three places manually calling bindgen for
rust_is_available_bindgen_libclang.h to get the version. I'd like to
merge them into one script so that it's easy to maintain in the future.
But if you prefer not to, I'd also be willing to revert it.
For this approach and naming, I referred to script/cc-version.sh
rustc-version.sh and rustc-llvm-version.sh.