]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust-common/rust-cross: Clean up target json generation code
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Jul 2022 12:25:32 +0000 (13:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 Jul 2022 10:07:11 +0000 (11:07 +0100)
commit0f83d959465e0d99f98ade6803281585931d1b02
tree32d982975f809dfaacf1dd371051e70139ab75cd
parent5cb62d0a33777cb9afb1eea5f736a2580ce50dc7
rust-common/rust-cross: Clean up target json generation code

Some of the subtleties in the different codepaths for target rust json generation
were not easy to spot. Start to simplfy the code to make this clearer.

This patch should not have any functionality change although ABIEXTENSION
has to be excluded from the function signature, the triplet would normally
cover anything set there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/cargo/cargo-cross-canadian.inc
meta/recipes-devtools/rust/rust-common.inc
meta/recipes-devtools/rust/rust-cross-canadian-common.inc
meta/recipes-devtools/rust/rust-cross.inc