aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-23 13:59:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-26 22:09:24 +0100
commitec5f0c77882ccbd5797519f5ded4e528eb687008 (patch)
tree5175a19c50f79a3252bc08e26afdcee6966835b7 /meta/recipes-devtools
parent4ba7fb0b6a5021bca73aade4af390e8e017b491a (diff)
downloadopenembedded-core-ec5f0c77882ccbd5797519f5ded4e528eb687008.tar.gz
openembedded-core-ec5f0c77882ccbd5797519f5ded4e528eb687008.tar.bz2
openembedded-core-ec5f0c77882ccbd5797519f5ded4e528eb687008.zip
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/rust/rust_1.54.0.bb2
1 files changed, 2 insertions, 0 deletions
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
}