]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rust: Fix build break because of "download-rustc" and "llvm-tools"
authorDeepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Thu, 27 Mar 2025 09:06:04 +0000 (02:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Mar 2025 13:41:14 +0000 (13:41 +0000)
commit2eb952d839e72c24a4180a57631c77910a0da980
tree13dbb40986b4092c49b9b13a645c79a4ef54e2eb
parent26a345adc8e050657bfa0b51ea92a3d89e698d9a
rust: Fix build break because of "download-rustc" and "llvm-tools"

>From Rust 1.84, the download-rustc and llvm-tools options were set to True
(previously they were False)

https://github.com/rust-lang/rust/commit/cce6f03754f096f8a2bdfb357e3739b855e29366
(download-rustc)

https://github.com/rust-lang/rust/commit/38f0c099b2e684ea689633eb424d8737a1063a5e
(llvm-tools)

For tarball sources, the download-rustc option should be False, so it has been
reverted back to False.

Setting llvm-tools to True caused issues with finding llvm-objcopy, so this
has been changed back to False.

Upstream-Status: https://github.com/rust-lang/rust/pull/134240/

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