meta-rust-bin
meta-rust-bin copied to clipboard
How to specify a certain version of rustc
What information should I include in my recipe, do tell yocto which version of rust it should use? E.g. I want my code to compile with Rust 1.43.0, (e.g. because of a regression).
@hellow554 You can use PREFERRED_VERSION
for the rust-bin-cross-*
and cargo-bin-cross-*
recipes. For example, if my target is ARM:
PREFERRED_VERSION_rust-bin-cross-arm ?= "1.43.0"
PREFERRED_VERSION_cargo-bin-cross-arm ?= "${PREFERRED_VERSION_rust-bin-cross-arm}"
Thanks! Would this something for the readme?