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/classes-recipe | |
| 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/classes-recipe')
| -rw-r--r-- | meta/classes-recipe/rust-target-config.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index 67aaa56bac..c04940ce54 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass | |||
| @@ -391,6 +391,11 @@ def rust_gen_target(d, thing, wd, arch): | |||
| 391 | tspec['cpu'] = cpu | 391 | tspec['cpu'] = cpu |
| 392 | if features != "": | 392 | if features != "": |
| 393 | tspec['features'] = features | 393 | tspec['features'] = features |
| 394 | fpu = d.getVar('TARGET_FPU') | ||
| 395 | if fpu == "soft": | ||
| 396 | tspec['llvm-floatabi'] = "soft" | ||
| 397 | elif fpu == "hard": | ||
| 398 | tspec['llvm-floatabi'] = "hard" | ||
| 394 | tspec['dynamic-linking'] = True | 399 | tspec['dynamic-linking'] = True |
| 395 | tspec['executables'] = True | 400 | tspec['executables'] = True |
| 396 | tspec['linker-is-gnu'] = True | 401 | tspec['linker-is-gnu'] = True |
