]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust: Use libc++ runtime when using clang with llvm runtime
authorKhem Raj <raj.khem@gmail.com>
Sun, 11 Sep 2022 23:28:44 +0000 (16:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Sep 2022 07:33:35 +0000 (08:33 +0100)
commit521872ab2cac092c88446730772cb8c4e22b0cdc
tree55ba93c7341c4790f5e76f0534d71745226cc7ba
parenta6be6d307fbe69248b4905214712d67bfddf6b92
rust: Use libc++ runtime when using clang with llvm runtime

meta-clang has options when it comes to C++ runtime, default is to use
gnu runtime, other options are llvm runtime and android runtime. This
patch helps when a distro is using llvm runtime for C/C++ runtime. It
informs the rust build system about right C++ runtime to configure for
when such a setting is used.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/rust.inc