diff options
author | Yash Shinde <Yash.Shinde@windriver.com> | 2025-03-30 22:54:21 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-01 22:08:36 +0100 |
commit | bac7bb5b7ad4bc45480fc5c6a687b0d2dcf1485e (patch) | |
tree | 0a54e9545c2353e205d83849d01b6ec5661a3caf /meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch | |
parent | 9733fce7d6780443384db987f9786346b989b809 (diff) | |
download | poky-bac7bb5b7ad4bc45480fc5c6a687b0d2dcf1485e.tar.gz |
rust: Upgrade 1.84.1->1.85.0
Rust stable version updated to 1.85.0
https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html
Some of the major updates:
- Update LIC_FILES_CHKSUM in libstd-rs and rust recipes.
License-Update: Unicode license text is updated to Unicode-3.0 License.
https://github.com/rust-lang/rust/commit/6d2a3e9786ec43a0e0af20386e7046328296ac86
[RP: Update LICENSE to reference Unicode-3.0]
- Pass '-Zforce-unstable-if-unmarked' to RUSTFLAGS in libstd-rs.bb
Fix: https://github.com/rust-lang/rust/issues/133857#issuecomment-2526341227
- Downgrade bootstrap cc version causing bootstrap to fail on custom targets. (Backported from v1.85.1)
Fix: https://github.com/rust-lang/rust/pull/137460/commits/e4ca11f87ffca8c63aa56d45b46e62b6acc58bd7
- Explicitly set float ABI for all ARM 32 bits targets.
Fix: https://github.com/rust-lang/rust/commit/a51fefcaab835b310e2e26005b50982d0049d905
- Rust v1.85.0 tarball doesn't ship gcc tree.
Drop "remove_gcc_directory" postfunc which removed it and prevented the bloat.
Fix: https://github.com/rust-lang/rust/commit/13c3f9b9498013837782b46120085ea19ca75518
Adapted the patch changes with v1.85.0:
repro-issue-fix-with-cc-crate-hashmap.patch
revert-link-std-statically-in-rustc_driver-feature.patch
rust-oe-selftest.patch
rv32-cargo-rustix-0.38.40-fix.patch
Dropped patches:
fix-tidy-check-failure.patch since it's merged with v1.85.0.
(From OE-Core rev: 3130069fdebb92f20b962fa8074564a27c3fb6b9)
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/fix-tidy-check-failure.patch')
-rw-r--r-- | meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch b/meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch deleted file mode 100644 index 54b4ee690b..0000000000 --- a/meta/recipes-devtools/rust/files/fix-tidy-check-failure.patch +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | fix a comment with uneven number of backticks in rustc_mir_build | ||
2 | |||
3 | Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/8e7734978245522cbbd14e53e08e888faf031ded] | ||
4 | |||
5 | Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> | ||
6 | --- | ||
7 | diff --git a/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs b/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs | ||
8 | index 3f89e33778..c66af11845 100644 | ||
9 | --- a/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs | ||
10 | +++ b/compiler/rustc_mir_build/src/build/expr/as_rvalue.rs | ||
11 | @@ -231,7 +231,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> { | ||
12 | if range.start <= range.end { BinOp::BitAnd } else { BinOp::BitOr }; | ||
13 | |||
14 | let mut comparer = |range: u128, bin_op: BinOp| -> Place<'tcx> { | ||
15 | - // We can use `ty::TypingEnv::fully_monomorphized()`` here | ||
16 | + // We can use `ty::TypingEnv::fully_monomorphized()` here | ||
17 | // as we only need it to compute the layout of a primitive. | ||
18 | let range_val = Const::from_bits( | ||
19 | this.tcx, | ||