diff options
Diffstat (limited to 'poky/meta/recipes-devtools/rust/rust_1.58.0.bb')
-rw-r--r-- | poky/meta/recipes-devtools/rust/rust_1.58.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/poky/meta/recipes-devtools/rust/rust_1.58.0.bb b/poky/meta/recipes-devtools/rust/rust_1.58.0.bb new file mode 100644 index 0000000000..b505ad46ca --- /dev/null +++ b/poky/meta/recipes-devtools/rust/rust_1.58.0.bb @@ -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.") +} + |