mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
* Drop backported musl fixes.
* Set `change-id` rather than `changelog-seen`
to fix build warning.
* Add fixes for 4b7e0a0b56aa24 ("Handle vendored sources
when remapping paths") which otherwise cause build failures:
| thread 'main' panicked at src/core/builder.rs:1795:26:
| std::fs::read_dir(registry_src) failed with No such file or directory (os=
error 2)
https://blog.rust-lang.org/2023/12/28/Rust-1.75.0.html
(From OE-Core rev: 9aec2c6c777388bb3129aa4c4f27a40f912522b4)
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
1.0 KiB
Diff
22 lines
1.0 KiB
Diff
When rust.channel is set to either beta or stable, we can't use
|
|
nightly features on bootstrap without RUSTC_BOOTSTRAP. Set RUSTC_BOOTSTRAP=1
|
|
to use nightly features on stable or beta.
|
|
|
|
Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/8aa7dd06f6e50621dc10f9f9490681be8a45876f]
|
|
|
|
Signed-off-by: onur-ozkan <work@onurozkan.dev>
|
|
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
|
|
---
|
|
diff --git a/src/bootstrap/synthetic_targets.rs b/ src/bootstrap/synthetic_targets.rs
|
|
index d2c65b740da..45baf56f46b 100644
|
|
--- a/src/bootstrap/src/core/build_steps/synthetic_targets.rs
|
|
+++ b/src/bootstrap/src/core/build_steps/synthetic_targets.rs
|
|
@@ -59,6 +59,7 @@ fn create_synthetic_target(
|
|
let mut cmd = Command::new(builder.rustc(compiler));
|
|
cmd.arg("--target").arg(base.rustc_target_arg());
|
|
cmd.args(["-Zunstable-options", "--print", "target-spec-json"]);
|
|
+ cmd.env("RUSTC_BOOTSTRAP", "1");
|
|
cmd.stdout(Stdio::piped());
|
|
|
|
let output = cmd.spawn().unwrap().wait_with_output().unwrap();
|