diff options
author | Yash Shinde <Yash.Shinde@windriver.com> | 2024-08-08 03:00:34 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-09 22:33:38 +0100 |
commit | be70d81a3cc2775c38270653570e9089f0a68701 (patch) | |
tree | 6a4126dd08aaabcd8aba8dc452f0d4b7695e8d27 /meta/recipes-devtools/rust/files/rustc-bootstrap.patch | |
parent | ab1bd4a04bc7d392d3910cb9adf2f950508dd684 (diff) | |
download | poky-be70d81a3cc2775c38270653570e9089f0a68701.tar.gz |
rust: Upgrade 1.75.0->1.76.0
* Drop "--doc" option for rust oe-selftest since
it is not supported on bootstrap builds for
cross-targets.
* Drop the following backported patches which are merged
with rust v1.76 upgrade.
- custom-target-cfg.patch
- rustc-bootstrap.patch
- rv32-missing-syscalls.patch
- target-build-value.patch
https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
* Drop 'rust-rustdoc' and 'rust-dbg' from 'exclude_packages' list
to check for rust reproducibility.
(From OE-Core rev: 71d17ed3c7be029fc68e9dd3f5d6c4aa72ef861a)
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/files/rustc-bootstrap.patch')
-rw-r--r-- | meta/recipes-devtools/rust/files/rustc-bootstrap.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-devtools/rust/files/rustc-bootstrap.patch b/meta/recipes-devtools/rust/files/rustc-bootstrap.patch deleted file mode 100644 index 1271d75e60..0000000000 --- a/meta/recipes-devtools/rust/files/rustc-bootstrap.patch +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | When rust.channel is set to either beta or stable, we can't use | ||
2 | nightly features on bootstrap without RUSTC_BOOTSTRAP. Set RUSTC_BOOTSTRAP=1 | ||
3 | to use nightly features on stable or beta. | ||
4 | |||
5 | Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/119619/commits/8aa7dd06f6e50621dc10f9f9490681be8a45876f] | ||
6 | |||
7 | Signed-off-by: onur-ozkan <work@onurozkan.dev> | ||
8 | Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> | ||
9 | --- | ||
10 | diff --git a/src/bootstrap/synthetic_targets.rs b/ src/bootstrap/synthetic_targets.rs | ||
11 | index d2c65b740da..45baf56f46b 100644 | ||
12 | --- a/src/bootstrap/src/core/build_steps/synthetic_targets.rs | ||
13 | +++ b/src/bootstrap/src/core/build_steps/synthetic_targets.rs | ||
14 | @@ -59,6 +59,7 @@ fn create_synthetic_target( | ||
15 | let mut cmd = Command::new(builder.rustc(compiler)); | ||
16 | cmd.arg("--target").arg(base.rustc_target_arg()); | ||
17 | cmd.args(["-Zunstable-options", "--print", "target-spec-json"]); | ||
18 | + cmd.env("RUSTC_BOOTSTRAP", "1"); | ||
19 | cmd.stdout(Stdio::piped()); | ||
20 | |||
21 | let output = cmd.spawn().unwrap().wait_with_output().unwrap(); | ||