requirerust-target.increquirerust-source-${PV}.increquirerust-snapshot-${PV}.incINSANE_SKIP:${PN}:class-native="already-stripped"do_compile(){rust_runxbuild--stage2}rust_do_install(){rust_runxinstall}python(){pn=d.getVar('PN')ifnotpn.endswith("-native"):raisebb.parse.SkipRecipe("Rust recipe doesn't work for target builds at this time. Fixes welcome.")}