]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
rust: Fix build break because of download-ci-llvm
authorDeepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Wed, 5 Mar 2025 06:01:57 +0000 (22:01 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Mar 2025 21:26:16 +0000 (21:26 +0000)
commitd43424cba7e93ee30b410d0a024be441e2336dbd
tree108b4ede87b6b37c1bec61a0289c36f939b68e0a
parent40d8dafdf556d7ce79c12a6de872193be9a0928a
rust: Fix build break because of download-ci-llvm

Previously, download-ci-llvm was set to false. However, with the following commit:
https://github.com/rust-lang/rust/commit/7d579046c80d3de3143dcb8b2db5640f95b5383c ,
which has been present from rust_1.83, it was changed to true. As a result, after
updating to rust_1.83, we encountered the following error during the build:

-------------------------------------------------------------------------------
| thread 'main' panicked at src/core/config/config.rs:2047:13:
| setting build-target.llvm-config is incompatible with download-ci-llvm.
| note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
-------------------------------------------------------------------------------

To resolve this issue, we are setting download-ci-llvm back to false.

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rust/rust_1.83.0.bb