On Thu, Dec 15, 2022, 3:05 AM Alexander Kanavin <alex.kanavin@gmail.com> wrote:
On Thu, 15 Dec 2022 at 08:32, Alejandro Hernandez Samaniego
<alejandro@enedino.org> wrote:
> +RUST_VERSION = "1.65.0"
> +SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust"

Adding a manually set variable adds friction to updates. Can
RUST_VERSION be set instead with a helper @function from PV?

Hey Alex,

I agree, and ideally yes, I tried to set it automatically to PV, but, sadly it conflicts if we try to include rust-source.inc from a non-rust recipe (This is necessary for some recipes that need to have rust source available to them) since it uses the PV set from that recipe instead.


Alejandro 


Alex