Re: [PATCH 1/2] rust: get the version of libclang used by bindgen in a separate script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux