Re: [OE-core] [PATCH v2 7/7] rust-target-config.bbclass: Update for new riscv TUNE_FEATURES

Alexander Kanavin
2026-01-14T10:50:23Z

On Wed, 14 Jan 2026 at 11:33, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:

> Nice find. I worry about our sstate tests not covering this. We might need to do:
>
> -rust_gen_target[vardepsexclude] += "ABIEXTENSION llvm_cpu"
> +rust_gen_target[vardepsexclude] += "ABIEXTENSION llvm_cpu TUNE_RISCV_ABI"

I thought of that, but would this rebuild correctly if someone first
builds for one TUNE_RISCV_ABI, then for another? I just don't know
enough about it to run experiments. It probably would, as that
variable feeds into TUNE_CCARGS.

Alex