summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
diff options
context:
space:
mode:
authorYash Shinde <Yash.Shinde@windriver.com>2025-03-30 22:54:21 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-01 22:08:36 +0100
commitbac7bb5b7ad4bc45480fc5c6a687b0d2dcf1485e (patch)
tree0a54e9545c2353e205d83849d01b6ec5661a3caf /meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
parent9733fce7d6780443384db987f9786346b989b809 (diff)
downloadpoky-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/revert-link-std-statically-in-rustc_driver-feature.patch')
-rw-r--r--meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch b/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
index 0ba0921f59..20a49d46dc 100644
--- a/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
+++ b/meta/recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
@@ -40,9 +40,9 @@ index 39fa23766b..51d86b4009 100644
40 40
41-use rustc_data_structures::fx::{FxHashMap, FxHashSet}; 41-use rustc_data_structures::fx::{FxHashMap, FxHashSet};
42+use rustc_data_structures::fx::FxHashMap; 42+use rustc_data_structures::fx::FxHashMap;
43 use rustc_hir::def_id::CrateNum; 43 use rustc_hir::def_id::{CrateNum, LOCAL_CRATE};
44 use rustc_index::IndexVec;
44 use rustc_middle::bug; 45 use rustc_middle::bug;
45 use rustc_middle::middle::dependency_format::{Dependencies, DependencyList, Linkage};
46@@ -161,44 +161,19 @@ fn calculate_type(tcx: TyCtxt<'_>, ty: CrateType) -> DependencyList { 46@@ -161,44 +161,19 @@ fn calculate_type(tcx: TyCtxt<'_>, ty: CrateType) -> DependencyList {
47 } 47 }
48 Linkage::Dynamic | Linkage::IncludedFromDylib => {} 48 Linkage::Dynamic | Linkage::IncludedFromDylib => {}