]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust-common: Simplify libc handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Aug 2022 12:34:42 +0000 (13:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Aug 2022 14:41:36 +0000 (15:41 +0100)
commitf35d5af06db10fa20e55f4c738e665b35f5c394b
tree40f6372ad940b1157931d5d99a196568b2433a4e
parentec15882fbf396de8d3a5921a3028850ba3fccc48
rust-common: Simplify libc handling

The current libc handling code is simply wrong in many cases. Simplify it
to a check of the triplet for musl handling which is much simpler and less
error prone when handling things like nativesdk targets.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rust-common.bbclass