From: Alexander Kanavin Date: Sun, 10 Oct 2021 19:10:07 +0000 (+0200) Subject: rust: do not write ar into target json definitions X-Git-Tag: uninative-3.5~1268 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=320f2c5aa535237fab4f4a1e6f75358f53221459;p=openembedded-core.git rust: do not write ar into target json definitions latest rust does not use it and prints a ton of warnings because of it. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/rust/rust-common.inc b/meta/recipes-devtools/rust/rust-common.inc index 153fa3aa97..797284316e 100644 --- a/meta/recipes-devtools/rust/rust-common.inc +++ b/meta/recipes-devtools/rust/rust-common.inc @@ -321,7 +321,6 @@ def rust_gen_target(d, thing, wd, features, cpu, arch): tspec['vendor'] = "unknown" tspec['target-family'] = "unix" tspec['linker'] = "{}{}gcc".format(d.getVar('CCACHE'), prefix) - tspec['ar'] = "{}ar".format(prefix) tspec['cpu'] = cpu if features != "": tspec['features'] = features