From: Richard Purdie Date: Mon, 23 Aug 2021 12:59:23 +0000 (+0100) Subject: rust-native: Avoid stripped warning X-Git-Tag: uninative-3.4~28 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ec5f0c77882ccbd5797519f5ded4e528eb687008;p=openembedded-core.git rust-native: Avoid stripped warning Instead of giving the following warning, hide it since we don't plan to change it. WARNING: rust-native-1.54.0-r0 do_populate_sysroot: File '/media/build1/poky/build/tmp/work/x86_64-linux/rust-native/1.54.0-r0/recipe-sysroot-native/usr/lib/rustlib/x86_64-linux/bin/rust-llvm-dwp' from rust-native was already stripped, this will prevent future debugging! Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/rust/rust_1.54.0.bb b/meta/recipes-devtools/rust/rust_1.54.0.bb index 07221ac127..ee60c3e6f1 100644 --- a/meta/recipes-devtools/rust/rust_1.54.0.bb +++ b/meta/recipes-devtools/rust/rust_1.54.0.bb @@ -2,6 +2,8 @@ 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 }