On Wed, Sep 3, 2025 at 9:08 PM Asuna Yang <spriteovo@xxxxxxxxx> wrote: > > Commit 33549fcf37ec ("RISC-V: disallow gcc + rust builds") disabled GCC > + Rust builds for RISC-V due to differences in extension handling > compared to LLVM. > > Add a Kconfig non-visible symbol to ensure that all important RISC-V > specific flags that will be used by GCC can be correctly recognized by > Rust bindgen's libclang, otherwise config HAVE_RUST will not be > selected. I think the commit message should try to explain each the changes here (or to split them). e.g. it doesn't mention the other config symbols added, nor the extra flag skipped, nor the `error` call. Cc'ing the rust-for-linux list. Thanks! Cheers, Miguel