On Thu, Sep 26, 2024 at 6:21 PM Conor Dooley conor@kernel.org wrote:
No. Things like clang + ld & gas. I don't care about out of tree modules ;)
Ah, other tools, not just the C compiler, I see -- that is why I mentioned out-of-tree modules, because otherwise I was not sure how you would get mix the C compiler itself, i.e. GCC and Clang.
Yes, just for riscv. The logic in our Kconfig menu is currently something like select HAVE_RUST if RUSTC_SUPPORTS_RISCV so that would just become select HAVE_RUST if RUSTC_SUPPORTS_RISCV && CC_IS_CLANG
If that is what you think it is best for RISC-V, then sure, up to you -- thanks!
Cheers, Miguel