Files
meta-rust/recipes-devtools/rust/rust_1.47.0.bb
T
Dan Callaghan 4b151fa804 add rust 1.47.0
2020-12-18 21:05:13 +10:00

19 lines
540 B
BlitzBasic

require rust.inc
require rust-source-${PV}.inc
require rust-snapshot-${PV}.inc
DEPENDS += "rust-llvm (=${PV})"
# Otherwise we'll depend on what we provide
INHIBIT_DEFAULT_RUST_DEPS_class-native = "1"
# We don't need to depend on gcc-native because yocto assumes it exists
PROVIDES_class-native = "virtual/${TARGET_PREFIX}rust"
# The default behaviour of x.py changed in 1.47+ so now we need to
# explicitly ask for the stage 2 compiler to be assembled.
do_compile () {
rust_runx build --stage 2 src/rustc
}
BBCLASSEXTEND = "native"