Import Rust 1.58.1 recipes from openembedded-core, remove Rust 1.51.0.

This commit is contained in:
Colin Finck
2022-01-21 13:17:43 +01:00
parent d4384db8c3
commit d0044639fe
36 changed files with 259 additions and 535 deletions
+21
View File
@@ -0,0 +1,21 @@
require rust-target.inc
require rust-source.inc
require rust-snapshot.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.")
}