Add Rust 1.64.0, remove 1.54.0 and 1.58.1

This commit is contained in:
Colin Finck
2022-09-30 14:23:49 +02:00
parent 59c4377bdb
commit 681204147c
41 changed files with 52 additions and 3429 deletions
+21
View File
@@ -0,0 +1,21 @@
require rust-target.inc
require rust-source-${PV}.inc
require rust-snapshot-${PV}.inc
INSANE_SKIP:${PN}:class-native = "already-stripped"
do_compile () {
rust_runx build --stage 2
}
rust_do_install() {
rust_runx install
}
python () {
pn = d.getVar('PN')
if not pn.endswith("-native"):
raise bb.parse.SkipRecipe("Rust recipe doesn't work for target builds at this time. Fixes welcome.")
}