]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust: Fix build failure when multilibs are enabled
authorDeepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Thu, 27 Mar 2025 09:06:06 +0000 (02:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Mar 2025 13:41:14 +0000 (13:41 +0000)
commitab29b970ba7e08eabca92018d103af5f249ed2c5
tree5d57a1250e402aac7ba0e3c1d1321a7b2c64860d
parent4265f668de8c6708cb3a003ad655559031724149
rust: Fix build failure when multilibs are enabled

When multilibs are enabled, building rust is failing because of the following commit
https://github.com/rust-lang/rust/commit/68034f837a39387e49fc7d7c5b088f5372a1127e
with stage1/rustc cannot able to find dependent *.so files. The issue is
been fixed inrust-master with the following commit by passing the necessary library
paths before executing stage1/rustc

Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/139d6ba054a1a4cc5fe64981ad46fd5547bd4916]

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/files/Zdual-proc-macros-additional-check.patch [new file with mode: 0644]
meta/recipes-devtools/rust/rust-source.inc