]> code.ossystems Code Review - openembedded-core.git/commitdiff
rust: do not write ar into target json definitions
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sun, 10 Oct 2021 19:10:07 +0000 (21:10 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Oct 2021 10:48:35 +0000 (11:48 +0100)
latest rust does not use it and prints a ton of warnings
because of it.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/rust-common.inc

index 153fa3aa97552843c30edb3f3a148e3cf8517d26..797284316e2d5938eea8fad50d0e4a65de68e9c2 100644 (file)
@@ -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