mirror of
https://git.yoctoproject.org/poky
synced 2026-05-05 07:39:49 +02:00
rust: Upgrade 1.77.2->1.78.0
* Drop the following backported patches which are merged with rust v1.78 upgrade. - 0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch - repro-issue-fix-with-v175.patch - deadcode-backport.patch https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html (From OE-Core rev: a3fb378afcc1fb01e9813fe902dbd6090ded75d7) Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c089b5d3a8
commit
f0b62cf9a8
@@ -24,7 +24,7 @@ GLIBCVERSION ?= "2.40%"
|
||||
LINUXLIBCVERSION ?= "6.10%"
|
||||
QEMUVERSION ?= "9.0%"
|
||||
GOVERSION ?= "1.22%"
|
||||
RUSTVERSION ?= "1.77%"
|
||||
RUSTVERSION ?= "1.78%"
|
||||
|
||||
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
||||
PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
|
||||
|
||||
@@ -1,68 +0,0 @@
|
||||
From 8bf0c566387e6a48d854d5f69c43c8bfa45092f9 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Kiernan <alexk@zuma.ai>
|
||||
Date: Sun, 24 Dec 2023 09:40:01 +0000
|
||||
Subject: [PATCH] Revert "Map source absolute paths to OUT_DIR as relative.
|
||||
(#684)"
|
||||
|
||||
This reverts commit c4f414f449bb7cffba3bc923f277704d1d08a8ec.
|
||||
|
||||
Upstream-Status: Inappropriate [patches need rework]
|
||||
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
|
||||
---
|
||||
src/lib.rs | 22 ++--------------------
|
||||
1 file changed, 2 insertions(+), 20 deletions(-)
|
||||
|
||||
Index: rustc-1.76.0-src/vendor/cc/src/lib.rs
|
||||
===================================================================
|
||||
--- rustc-1.76.0-src.orig/vendor/cc/src/lib.rs
|
||||
+++ rustc-1.76.0-src/vendor/cc/src/lib.rs
|
||||
@@ -54,12 +54,11 @@
|
||||
#![deny(missing_docs)]
|
||||
|
||||
use std::borrow::Cow;
|
||||
-use std::collections::{hash_map, HashMap};
|
||||
+use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::ffi::{OsStr, OsString};
|
||||
use std::fmt::{self, Display, Formatter};
|
||||
use std::fs::{self, File};
|
||||
-use std::hash::Hasher;
|
||||
use std::io::{self, BufRead, BufReader, Read, Write};
|
||||
use std::path::{Component, Path, PathBuf};
|
||||
use std::process::{Child, Command, Stdio};
|
||||
@@ -1108,25 +1107,7 @@
|
||||
|
||||
let mut objects = Vec::new();
|
||||
for file in self.files.iter() {
|
||||
- let obj = if file.has_root() || file.components().any(|x| x == Component::ParentDir) {
|
||||
- // If `file` is an absolute path or might not be usable directly as a suffix due to
|
||||
- // using "..", use the `basename` prefixed with the `dirname`'s hash to ensure name
|
||||
- // uniqueness.
|
||||
- let basename = file
|
||||
- .file_name()
|
||||
- .ok_or_else(|| Error::new(ErrorKind::InvalidArgument, "file_name() failure"))?
|
||||
- .to_string_lossy();
|
||||
- let dirname = file
|
||||
- .parent()
|
||||
- .ok_or_else(|| Error::new(ErrorKind::InvalidArgument, "parent() failure"))?
|
||||
- .to_string_lossy();
|
||||
- let mut hasher = hash_map::DefaultHasher::new();
|
||||
- hasher.write(dirname.to_string().as_bytes());
|
||||
- dst.join(format!("{:016x}-{}", hasher.finish(), basename))
|
||||
- .with_extension("o")
|
||||
- } else {
|
||||
- dst.join(file).with_extension("o")
|
||||
- };
|
||||
+ let obj = dst.join(file).with_extension("o");
|
||||
let obj = if !obj.starts_with(&dst) {
|
||||
dst.join(obj.file_name().ok_or_else(|| {
|
||||
Error::new(ErrorKind::IOError, "Getting object file details failed.")
|
||||
Index: rustc-1.76.0-src/vendor/cc/.cargo-checksum.json
|
||||
===================================================================
|
||||
--- rustc-1.76.0-src.orig/vendor/cc/.cargo-checksum.json
|
||||
+++ rustc-1.76.0-src/vendor/cc/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"Cargo.lock":"f36b5fb99e6a2272cb5ad088fb7e21baa135c5335f9babfd3d6e79cd915d5082","Cargo.toml":"2be00f2836c949a6ff7120610ee0191a6d12d50f141aafd6622d4c2e932f0d71","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"fe18a56553aa54cbef39b659e98340ddf4dbb18f156e7b34a8be25d97e4d123f","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"cf188faf2651f613ee5c38fd6af29188ff4b0c3036b615874bce0e3b6e61a96f","src/lib.rs":"cdf0c6dc4e12ad313fb93ab42f994e26c7e5aaeb07ca61620032d8f4014dacd0","src/os_pipe.rs":"5b950b491b93226885c34a9070387c081f50029fdf19770bb983bca2a64aa705","src/os_pipe/unix.rs":"64a765352b3e94c4590d11f99824dc60a887fe5bc61eba81398aab1180908f55","src/os_pipe/windows.rs":"fa35d5b6adb83a8442ec06b08f3d30631ac7b8513f3cf8b3986d27b7ee58cf93","src/registry.rs":"d888d22abd8a32a61562529274b2d5d2f9e5a3bfa754589d6beb04b740144771","src/setup_config.rs":"5fee84b80d089ae4a92f10080b072ea2bb32c2edbcdc759cb9072e380404fc46","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"132a7c23d57911db0bef03446cd106e7f75818096132522219d72b9d2a8f247f","src/windows_registry.rs":"c58ae361caf3b6f13dff515e25b3a7e5cf443bb9470d2d347784b5872c3de06d","src/windows_sys.rs":"ff7cdf4450db85c8704dfd3aa765dd62da24f0650825457094405af82958f688","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"bab74eb7e7a383cb5da4143e74c26ddfa3e7162b5f46c1d46a722250e925444d"},"package":"f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"Cargo.lock":"f36b5fb99e6a2272cb5ad088fb7e21baa135c5335f9babfd3d6e79cd915d5082","Cargo.toml":"2be00f2836c949a6ff7120610ee0191a6d12d50f141aafd6622d4c2e932f0d71","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"fe18a56553aa54cbef39b659e98340ddf4dbb18f156e7b34a8be25d97e4d123f","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"cf188faf2651f613ee5c38fd6af29188ff4b0c3036b615874bce0e3b6e61a96f","src/lib.rs":"c5a1ae53355aae6da9179faa7c46277fc86d9ca46e37a0eb296cd92eb3f0ca72","src/os_pipe.rs":"5b950b491b93226885c34a9070387c081f50029fdf19770bb983bca2a64aa705","src/os_pipe/unix.rs":"64a765352b3e94c4590d11f99824dc60a887fe5bc61eba81398aab1180908f55","src/os_pipe/windows.rs":"fa35d5b6adb83a8442ec06b08f3d30631ac7b8513f3cf8b3986d27b7ee58cf93","src/registry.rs":"d888d22abd8a32a61562529274b2d5d2f9e5a3bfa754589d6beb04b740144771","src/setup_config.rs":"5fee84b80d089ae4a92f10080b072ea2bb32c2edbcdc759cb9072e380404fc46","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"132a7c23d57911db0bef03446cd106e7f75818096132522219d72b9d2a8f247f","src/windows_registry.rs":"c58ae361caf3b6f13dff515e25b3a7e5cf443bb9470d2d347784b5872c3de06d","src/windows_sys.rs":"ff7cdf4450db85c8704dfd3aa765dd62da24f0650825457094405af82958f688","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"bab74eb7e7a383cb5da4143e74c26ddfa3e7162b5f46c1d46a722250e925444d"},"package":"f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"}
|
||||
\ No newline at end of file
|
||||
@@ -24,12 +24,12 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
.../src/cargo/core/compiler/context/compilation_files.rs | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs b/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs
|
||||
diff --git a/src/tools/cargo/src/cargo/core/compiler/build_runner/compilation_files.rs b/src/tools/cargo/src/cargo/core/compiler/build_runner/compilation_files.rs
|
||||
index d83dbf10c..b2ad8d9f3 100644
|
||||
--- a/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs
|
||||
+++ b/src/tools/cargo/src/cargo/core/compiler/context/compilation_files.rs
|
||||
--- a/src/tools/cargo/src/cargo/core/compiler/build_runner/compilation_files.rs
|
||||
+++ b/src/tools/cargo/src/cargo/core/compiler/build_runner/compilation_files.rs
|
||||
@@ -652,7 +652,7 @@ fn hash_rustc_version(bcx: &BuildContext<'_, '_>, hasher: &mut StableHasher) {
|
||||
if vers.pre.is_empty() || bcx.config.cli_unstable().separate_nightlies {
|
||||
if vers.pre.is_empty() || bcx.gctx.cli_unstable().separate_nightlies {
|
||||
// For stable, keep the artifacts separate. This helps if someone is
|
||||
// testing multiple versions, to avoid recompiles.
|
||||
- bcx.rustc().verbose_version.hash(hasher);
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
Fix the dead code error as follows:
|
||||
|
||||
Compiling coverage-dump v0.1.0 (/home/poky/build-st/tmp/work/core2-64-poky-linux/rust/1.77.0/rustc-1.77.0-src/src/tools/coverage-dump)
|
||||
error: field `0` is never read
|
||||
--> src/tools/coverage-dump/src/covfun.rs:222:15
|
||||
|
|
||||
222 | Expansion(u32),
|
||||
| --------- ^^^
|
||||
| |
|
||||
| field in this variant
|
||||
|
|
||||
= note: `-D dead-code` implied by `-D warnings`
|
||||
= help: to override `-D warnings` add `#[allow(dead_code)]`
|
||||
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
||||
|
|
||||
222 | Expansion(()),
|
||||
| ~~
|
||||
|
||||
error: could not compile `coverage-dump` (bin "coverage-dump") due to 1 previous error
|
||||
|
||||
Only the required change is backported here to run the build without any errors.
|
||||
Other changes are merged with the commit in v1.78.
|
||||
|
||||
Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/9a5034a20ed8b055dc615271f9d9cf27f9e494f0#diff-d4ecc6273352a2a8ebd02c45233d9bff7c6694f20b67ddad0614af7a89c06748]
|
||||
|
||||
Signed-off-by: Yash Shinde <Yash.Shinde@windriver.com>
|
||||
---
|
||||
diff --git a/src/tools/coverage-dump/src/covfun.rs b/src/tools/coverage-dump/src/covfun.rs
|
||||
--- a/src/tools/coverage-dump/src/covfun.rs
|
||||
+++ b/src/tools/coverage-dump/src/covfun.rs
|
||||
@@ -219,7 +219,7 @@
|
||||
enum MappingKind {
|
||||
Code(CovTerm),
|
||||
Gap(CovTerm),
|
||||
- Expansion(u32),
|
||||
+ Expansion(#[allow(dead_code)] u32),
|
||||
Skip,
|
||||
// Using raw identifiers here makes the dump output a little bit nicer
|
||||
// (via the derived Debug), at the expense of making this tool's source
|
||||
@@ -1,35 +1,37 @@
|
||||
rust: reproducibility issue fix with v1.76
|
||||
rust: reproducibility issue fix with v1.78
|
||||
|
||||
A few crates are using the updated version of the 'cc' crate and this is causing the generated object file names containing a unique hashmap id.
|
||||
The hashmap addition to generated files is reverted here.
|
||||
|
||||
Below are the links for detailed bug description & discusssion with upstream rust.
|
||||
https://github.com/rust-lang/cc-rs/issues/1117
|
||||
|
||||
Upstream-Status: Inappropriate [https://github.com/rust-lang/cc-rs/issues/1117]
|
||||
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
|
||||
---
|
||||
--- a/vendor/cc-1.0.79/src/lib.rs
|
||||
+++ b/vendor/cc-1.0.79/src/lib.rs
|
||||
@@ -56,12 +56,11 @@
|
||||
#![allow(deprecated)]
|
||||
Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
|
||||
--- a/vendor/cc-1.0.83/src/lib.rs
|
||||
+++ b/vendor/cc-1.0.83/src/lib.rs
|
||||
@@ -54,12 +54,11 @@
|
||||
#![deny(missing_docs)]
|
||||
|
||||
use std::borrow::Cow;
|
||||
-use std::collections::{hash_map, HashMap};
|
||||
+use std::collections::HashMap;
|
||||
use std::env;
|
||||
use std::ffi::{OsStr, OsString};
|
||||
use std::fmt::{self, Display, Formatter};
|
||||
use std::fs;
|
||||
use std::fs::{self, File};
|
||||
-use std::hash::Hasher;
|
||||
use std::io::{self, BufRead, BufReader, Read, Write};
|
||||
use std::path::{Component, Path, PathBuf};
|
||||
use std::process::{Child, Command, Stdio};
|
||||
@@ -1037,24 +1036,7 @@
|
||||
@@ -1108,25 +1107,7 @@
|
||||
|
||||
let mut objects = Vec::new();
|
||||
for file in self.files.iter() {
|
||||
- let obj = if file.has_root() {
|
||||
- // If `file` is an absolute path, prefix the `basename`
|
||||
- // with the `dirname`'s hash to ensure name uniqueness.
|
||||
- let obj = if file.has_root() || file.components().any(|x| x == Component::ParentDir) {
|
||||
- // If `file` is an absolute path or might not be usable directly as a suffix due to
|
||||
- // using "..", use the `basename` prefixed with the `dirname`'s hash to ensure name
|
||||
- // uniqueness.
|
||||
- let basename = file
|
||||
- .file_name()
|
||||
- .ok_or_else(|| Error::new(ErrorKind::InvalidArgument, "file_name() failure"))?
|
||||
@@ -49,11 +51,64 @@ Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
|
||||
let obj = if !obj.starts_with(&dst) {
|
||||
dst.join(obj.file_name().ok_or_else(|| {
|
||||
Error::new(ErrorKind::IOError, "Getting object file details failed.")
|
||||
Index: rustc-1.77.0-src/vendor/cc-1.0.79/.cargo-checksum.json
|
||||
===================================================================
|
||||
--- a/vendor/cc-1.0.79/.cargo-checksum.json
|
||||
+++ b/vendor/cc-1.0.79/.cargo-checksum.json
|
||||
--- a/vendor/cc-1.0.83/.cargo-checksum.json
|
||||
+++ b/vendor/cc-1.0.83/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"Cargo.lock":"dddb9c49058d411a098e98dc1c06e3bc89f859a2080d96c11b11aec67394bb8c","Cargo.toml":"1953a8bc4b98e351fe75917c151b1e08a46531d562aebba25a90add4aadecac2","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"58af5106352aafa62175a90f8a5f25fa114028bf909220dc0735d79745999ec1","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656ab1a4cc3e5fe24542e0fab5c1373cbc9b05059f7572cf9b8313","src/lib.rs":"17a4659710aa290c4ed9c23063c7b202c5bcf2a84de33aa1f01fc6fded69a1f8","src/registry.rs":"98ae2b71781acc49297e5544fa0cf059f735636f8f1338edef8dbf7232443945","src/setup_config.rs":"72deaf1927c0b713fd5c2b2d5b8f0ea3a303a00fda1579427895cac26a94122d","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"e128e95b2d39ae7a02f54a7e25d33c488c14759b9f1a50a449e10545856950c3","src/windows_registry.rs":"1f973f804b4b451e48ff6d98ce660355772f164dfdf79a6ae514645c7c764005","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"61fb35ae6dd5cf506ada000bdd82c92e9f8eac9cc053b63e83d3f897436fbf8f"},"package":"50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"}
|
||||
-{"files":{"Cargo.lock":"f36b5fb99e6a2272cb5ad088fb7e21baa135c5335f9babfd3d6e79cd915d5082","Cargo.toml":"2be00f2836c949a6ff7120610ee0191a6d12d50f141aafd6622d4c2e932f0d71","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"fe18a56553aa54cbef39b659e98340ddf4dbb18f156e7b34a8be25d97e4d123f","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"cf188faf2651f613ee5c38fd6af29188ff4b0c3036b615874bce0e3b6e61a96f","src/lib.rs":"cdf0c6dc4e12ad313fb93ab42f994e26c7e5aaeb07ca61620032d8f4014dacd0","src/os_pipe.rs":"5b950b491b93226885c34a9070387c081f50029fdf19770bb983bca2a64aa705","src/os_pipe/unix.rs":"64a765352b3e94c4590d11f99824dc60a887fe5bc61eba81398aab1180908f55","src/os_pipe/windows.rs":"fa35d5b6adb83a8442ec06b08f3d30631ac7b8513f3cf8b3986d27b7ee58cf93","src/registry.rs":"d888d22abd8a32a61562529274b2d5d2f9e5a3bfa754589d6beb04b740144771","src/setup_config.rs":"5fee84b80d089ae4a92f10080b072ea2bb32c2edbcdc759cb9072e380404fc46","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"132a7c23d57911db0bef03446cd106e7f75818096132522219d72b9d2a8f247f","src/windows_registry.rs":"c58ae361caf3b6f13dff515e25b3a7e5cf443bb9470d2d347784b5872c3de06d","src/windows_sys.rs":"ff7cdf4450db85c8704dfd3aa765dd62da24f0650825457094405af82958f688","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"bab74eb7e7a383cb5da4143e74c26ddfa3e7162b5f46c1d46a722250e925444d"},"package":"f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"Cargo.lock":"dddb9c49058d411a098e98dc1c06e3bc89f859a2080d96c11b11aec67394bb8c","Cargo.toml":"1953a8bc4b98e351fe75917c151b1e08a46531d562aebba25a90add4aadecac2","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"58af5106352aafa62175a90f8a5f25fa114028bf909220dc0735d79745999ec1","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"29d0dee08a656ab1a4cc3e5fe24542e0fab5c1373cbc9b05059f7572cf9b8313","src/lib.rs":"dfb36b17362e9a5b266cb19a229d982e8c0bba784b1e99769f690692b0cd5c4e","src/registry.rs":"98ae2b71781acc49297e5544fa0cf059f735636f8f1338edef8dbf7232443945","src/setup_config.rs":"72deaf1927c0b713fd5c2b2d5b8f0ea3a303a00fda1579427895cac26a94122d","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"e128e95b2d39ae7a02f54a7e25d33c488c14759b9f1a50a449e10545856950c3","src/windows_registry.rs":"1f973f804b4b451e48ff6d98ce660355772f164dfdf79a6ae514645c7c764005","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"61fb35ae6dd5cf506ada000bdd82c92e9f8eac9cc053b63e83d3f897436fbf8f"},"package":"50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"}
|
||||
+{"files":{"Cargo.lock":"f36b5fb99e6a2272cb5ad088fb7e21baa135c5335f9babfd3d6e79cd915d5082","Cargo.toml":"2be00f2836c949a6ff7120610ee0191a6d12d50f141aafd6622d4c2e932f0d71","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"fe18a56553aa54cbef39b659e98340ddf4dbb18f156e7b34a8be25d97e4d123f","src/bin/gcc-shim.rs":"36dc4e447428e73c548cc7106ca1e8f282c098463b014e13a729a44445de4880","src/com.rs":"cf188faf2651f613ee5c38fd6af29188ff4b0c3036b615874bce0e3b6e61a96f","src/lib.rs":"c5a1ae53355aae6da9179faa7c46277fc86d9ca46e37a0eb296cd92eb3f0ca72","src/os_pipe.rs":"5b950b491b93226885c34a9070387c081f50029fdf19770bb983bca2a64aa705","src/os_pipe/unix.rs":"64a765352b3e94c4590d11f99824dc60a887fe5bc61eba81398aab1180908f55","src/os_pipe/windows.rs":"fa35d5b6adb83a8442ec06b08f3d30631ac7b8513f3cf8b3986d27b7ee58cf93","src/registry.rs":"d888d22abd8a32a61562529274b2d5d2f9e5a3bfa754589d6beb04b740144771","src/setup_config.rs":"5fee84b80d089ae4a92f10080b072ea2bb32c2edbcdc759cb9072e380404fc46","src/vs_instances.rs":"2d3f8278a803b0e7052f4eeb1979b29f963dd0143f4458e2cb5f33c4e5f0963b","src/winapi.rs":"132a7c23d57911db0bef03446cd106e7f75818096132522219d72b9d2a8f247f","src/windows_registry.rs":"c58ae361caf3b6f13dff515e25b3a7e5cf443bb9470d2d347784b5872c3de06d","src/windows_sys.rs":"ff7cdf4450db85c8704dfd3aa765dd62da24f0650825457094405af82958f688","tests/cc_env.rs":"e02b3b0824ad039b47e4462c5ef6dbe6c824c28e7953af94a0f28f7b5158042e","tests/cflags.rs":"57f06eb5ce1557e5b4a032d0c4673e18fbe6f8d26c1deb153126e368b96b41b3","tests/cxxflags.rs":"c2c6c6d8a0d7146616fa1caed26876ee7bc9fcfffd525eb4743593cade5f3371","tests/support/mod.rs":"a3c8d116973bb16066bf6ec4de5143183f97de7aad085d85f8118a2eaac3e1e0","tests/test.rs":"bab74eb7e7a383cb5da4143e74c26ddfa3e7162b5f46c1d46a722250e925444d"},"package":"f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"}
|
||||
--- a/vendor/cc/src/command_helpers.rs
|
||||
+++ b/vendor/cc/src/command_helpers.rs
|
||||
@@ -1,11 +1,9 @@
|
||||
//! Miscellaneous helpers for running commands
|
||||
|
||||
use std::{
|
||||
- collections::hash_map,
|
||||
ffi::OsString,
|
||||
fmt::Display,
|
||||
fs,
|
||||
- hash::Hasher,
|
||||
io::{self, Read, Write},
|
||||
path::Path,
|
||||
process::{Child, ChildStderr, Command, Stdio},
|
||||
@@ -254,32 +254,7 @@
|
||||
pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<Object>, Error> {
|
||||
let mut objects = Vec::with_capacity(files.len());
|
||||
for file in files {
|
||||
- let basename = file
|
||||
- .file_name()
|
||||
- .ok_or_else(|| {
|
||||
- Error::new(
|
||||
- ErrorKind::InvalidArgument,
|
||||
- "No file_name for object file path!",
|
||||
- )
|
||||
- })?
|
||||
- .to_string_lossy();
|
||||
- let dirname = file
|
||||
- .parent()
|
||||
- .ok_or_else(|| {
|
||||
- Error::new(
|
||||
- ErrorKind::InvalidArgument,
|
||||
- "No parent for object file path!",
|
||||
- )
|
||||
- })?
|
||||
- .to_string_lossy();
|
||||
-
|
||||
- // Hash the dirname. This should prevent conflicts if we have multiple
|
||||
- // object files with the same filename in different subfolders.
|
||||
- let mut hasher = hash_map::DefaultHasher::new();
|
||||
- hasher.write(dirname.to_string().as_bytes());
|
||||
- let obj = dst
|
||||
- .join(format!("{:016x}-{}", hasher.finish(), basename))
|
||||
- .with_extension("o");
|
||||
+ let obj = dst.join(file).with_extension("o");
|
||||
|
||||
match obj.parent() {
|
||||
Some(s) => fs::create_dir_all(s)?,
|
||||
--- a/vendor/cc/.cargo-checksum.json
|
||||
+++ b/vendor/cc/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"Cargo.toml":"ad60f12609a272a3d052258f9521807fd627181125e84dd988ddb2b2e7dfedf6","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","src/command_helpers.rs":"3ef95bdcd79a43406fdab275d8a8f45ba787876399b54df34068955ec0109e69","src/lib.rs":"71e55cf18e32dab3b9feae2add4ff57932a10084cc5aad4680c12eb3a91ed124","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"0676c3177b5be9d7ede483bf4bd45c5ca0f5511073e4d1c9f181a0bc83db05dc","src/parallel/mod.rs":"aaffed5ad3dc0d28641533ab0d6f522bf34a059d4b1a239dc4d217cb5d58e232","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/tool.rs":"172cfcbecd7c6a363ea841a48a10a75b0a01e83b83c0691107c601598b68dedf","src/windows/com.rs":"be1564756c9f3ef1398eafeed7b54ba610caba28e8f6258d28a997737ebf9535","src/windows/find_tools.rs":"f6f391294511c376c3ce10ac2fd29967fe6f21d256d9575d8733c1c7cb1befde","src/windows/mod.rs":"42f1ad7fee35a17686b003e6aa520d3d1940d47d2f531d626e9ae0c48ba49005","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"76e3cee74b5fd38ddaf533bba11fe401667c50dda5f9d064099840893eaa7587","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"f6b90b87f23e446284bde86749b53858c0d37b8a43515ed8d0e90b1ac8cf7771"},"package":"8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"Cargo.toml":"ad60f12609a272a3d052258f9521807fd627181125e84dd988ddb2b2e7dfedf6","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","src/command_helpers.rs":"0977a08e49a78e4065858e650a7e92151806e247b542b87cbbeee96a9177153c","src/lib.rs":"71e55cf18e32dab3b9feae2add4ff57932a10084cc5aad4680c12eb3a91ed124","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"0676c3177b5be9d7ede483bf4bd45c5ca0f5511073e4d1c9f181a0bc83db05dc","src/parallel/mod.rs":"aaffed5ad3dc0d28641533ab0d6f522bf34a059d4b1a239dc4d217cb5d58e232","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/tool.rs":"172cfcbecd7c6a363ea841a48a10a75b0a01e83b83c0691107c601598b68dedf","src/windows/com.rs":"be1564756c9f3ef1398eafeed7b54ba610caba28e8f6258d28a997737ebf9535","src/windows/find_tools.rs":"f6f391294511c376c3ce10ac2fd29967fe6f21d256d9575d8733c1c7cb1befde","src/windows/mod.rs":"42f1ad7fee35a17686b003e6aa520d3d1940d47d2f531d626e9ae0c48ba49005","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"76e3cee74b5fd38ddaf533bba11fe401667c50dda5f9d064099840893eaa7587","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"f6b90b87f23e446284bde86749b53858c0d37b8a43515ed8d0e90b1ac8cf7771"},"package":"8cd6604a82acf3039f1144f54b8eb34e91ffba622051189e71b781822d5ee1f5"}
|
||||
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
rust: reproducibility issue fix with v1.75
|
||||
|
||||
With 1.75 rust release, the '.rustc' section of shared object libs are embedded with absolute path names which is casuing reproducibility issues.
|
||||
This change will fix the path name format back to '/rust/$hash' as in earlier versions.
|
||||
|
||||
Below are the links for detailed bug description & discusssion with upstream rust.
|
||||
https://github.com/rust-lang/rust/issues/120825#issuecomment-1964307219
|
||||
https://github.com/rust-lang/rust/issues/120825#issuecomment-1964652656
|
||||
|
||||
Upstream-Status: Backport [https://github.com/rust-lang/rust/pull/121959/commits/a9a979839bbdfec48c75d618ab0dce8a953589b8]
|
||||
Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@windriver.com>
|
||||
---
|
||||
--- a/compiler/rustc_session/src/session.rs 2023-12-21 08:55:28.000000000 -0800
|
||||
+++ b/compiler/rustc_session/src/session.rs 2024-02-26 07:29:15.527577022 -0800
|
||||
@@ -1260,19 +1260,6 @@
|
||||
}
|
||||
|
||||
pub fn should_prefer_remapped_for_codegen(&self) -> bool {
|
||||
- // bail out, if any of the requested crate types aren't:
|
||||
- // "compiled executables or libraries"
|
||||
- for crate_type in &self.opts.crate_types {
|
||||
- match crate_type {
|
||||
- CrateType::Executable
|
||||
- | CrateType::Dylib
|
||||
- | CrateType::Rlib
|
||||
- | CrateType::Staticlib
|
||||
- | CrateType::Cdylib => continue,
|
||||
- CrateType::ProcMacro => return false,
|
||||
- }
|
||||
- }
|
||||
-
|
||||
let has_split_debuginfo = match self.split_debuginfo() {
|
||||
SplitDebuginfo::Off => false,
|
||||
SplitDebuginfo::Packed => true,
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -4,56 +4,56 @@
|
||||
## The exact (previous) version that has been used is specified in the source tarball.
|
||||
## The version is replicated here.
|
||||
|
||||
SNAPSHOT_VERSION = "1.76.0"
|
||||
SNAPSHOT_VERSION = "1.77.0"
|
||||
|
||||
SRC_URI[cargo-snapshot-aarch64.sha256sum] = "d0c54d824e64b7313a974409541ca3a157b3ed7299865786bd0c440b0e073091"
|
||||
SRC_URI[clippy-snapshot-aarch64.sha256sum] = "4d9d8e392b03965b01591f16b233e91d48a597e731e0cd04dc495512dd4775e2"
|
||||
SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "c0c579d9321da855109a2b6c7d7c9e01549db37e8490f058cfdc0012bef394cd"
|
||||
SRC_URI[rustc-snapshot-aarch64.sha256sum] = "a299b5053d2771c24e3d5787caa0317ea729618700acacf2eeb95e345a92529c"
|
||||
SRC_URI[cargo-snapshot-aarch64.sha256sum] = "0833e133e2b98d840c5180a3dabc49c0de9895c54055dfee92fa94d2a12196d5"
|
||||
SRC_URI[clippy-snapshot-aarch64.sha256sum] = "a60b58615747ac868f4d23d711d0386685beaeb597bc2e2bb7ce49a2b4826beb"
|
||||
SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "b6c551baf0cc9a32582f2362379b596f33c1bc93ae520d5648e9138de1b4b90b"
|
||||
SRC_URI[rustc-snapshot-aarch64.sha256sum] = "ca7caef0b4e32f769edf4d7d596d0da9c3d562dd8233bd9068d3ba6cfe8dfe48"
|
||||
|
||||
SRC_URI[cargo-snapshot-i686.sha256sum] = "ffa9b2b65a3bd6298ffd5a2defd6ac5fa42d1a0dcefdea50b92ddf8d162db19c"
|
||||
SRC_URI[clippy-snapshot-i686.sha256sum] = "a6eb9271424ac326ef7609b1c2113916e42801ca271348708ff032490b66ac50"
|
||||
SRC_URI[rust-std-snapshot-i686.sha256sum] = "78fb0859beb4f18af7227af3f09f0218169ca38c7751865e40d78d697ca190fc"
|
||||
SRC_URI[rustc-snapshot-i686.sha256sum] = "e52ff92c605284b049e88912343a0f1c9c4cef7cc4a501d4e8f1ab9e4d9b1d7e"
|
||||
SRC_URI[cargo-snapshot-i686.sha256sum] = "eaf3461608760821fdf0beca8f68eaa743fc9a7fcc1725bfb143e57b815d123e"
|
||||
SRC_URI[clippy-snapshot-i686.sha256sum] = "b4998f498080af2fa83d6e46921c63a05115ee8113fdbd6654b42678dbdeeeeb"
|
||||
SRC_URI[rust-std-snapshot-i686.sha256sum] = "332b4652fc5f37379ff8f820a6affea6500350d0669f72cf4fdec9b8900d66ea"
|
||||
SRC_URI[rustc-snapshot-i686.sha256sum] = "1d15d1558d1c97072c1ecfac9f4466022c4afa482e06efdb5cf4eeebe940a186"
|
||||
|
||||
SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "ff5ece4942139dac43bae14293602cce5bb87c700fa051eb5a6cd7b08eebeafc"
|
||||
SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "ed8abd72fbbd9320573752eee465559743b94832007b3beda9b7ecbee596bf61"
|
||||
SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "0b96bc12af2d2477e7e6b22befbf37b759e56035414d8aa85975e3050c88dae5"
|
||||
SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "59c8ec9441a73223873bf561f0c36719b130788a03e8e04955e3b79625a8d68c"
|
||||
SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "3952bf1766b7ef04218ab990066abe7598af2dc6fd6ce417569637ee919990bd"
|
||||
SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "b6bf201285610ff01e262c27f3e663200d36839ce5176b5cfdf7bd1c02a139b3"
|
||||
SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "bd5a72c959f437b8245df6aa59171d4678ba7a47b963ec0552032a88247123ce"
|
||||
SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "f629ac5186026fe46b8656b0c91cf6ae8059c7f4e0c62c5d73e00aac51c0d1d4"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc.sha256sum] = "b5c2e394fb300b480d9e15d519dba6dd40a20fda91117dc3ede721af1bac8645"
|
||||
SRC_URI[clippy-snapshot-powerpc.sha256sum] = "1227f8989ae609afe0d771060262e113ead080ac863bd5c7f89a6b491d5b7025"
|
||||
SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "773189b5fc9c2252801dd10da23dfd54577f25fcaf8f4077b4d5bc2169079653"
|
||||
SRC_URI[rustc-snapshot-powerpc.sha256sum] = "00b27ff304d5af9663778a6f6dd70a85a98fe8db877054bb4080206372faf571"
|
||||
SRC_URI[cargo-snapshot-powerpc.sha256sum] = "daf08e82bb631650e4ed44cced4a943ef368fa89ab4a098ee11e6dac0f5b2f55"
|
||||
SRC_URI[clippy-snapshot-powerpc.sha256sum] = "8e092ec41ad2edf8ebfe06cf476638ff46a77279d3b902461a0627cc5fc059f8"
|
||||
SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "6468f16f8430c7b34d3bdfb11afd6843531859b69258f3ccc46f304499603fbe"
|
||||
SRC_URI[rustc-snapshot-powerpc.sha256sum] = "2017726dcd5ffef41fc63061ace7292fb2311d42b3130288d7706fbcfc1497e2"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "dcf7e9e0b247f56759528db601eec76ff9c471457acd84c4c47e42b35ad2edd2"
|
||||
SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "903e30eeefd11d923412e2ddfb695126d80d5101afd1838e61d7cdca4acdad04"
|
||||
SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "312699dea45a90f4f80bba87e12c410378b39c819bd089b1219101f101b49833"
|
||||
SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "ab397f7ea75b18b5c5e01b878772f1c91f102a09b46c60dae5110318cb17c677"
|
||||
SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "4a93b099561403caeb0ff7706a2def51ad3528acb4782953ef2e9a6de56eda7f"
|
||||
SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "eecf9d2e4a7ebff9e6719b53bb0de196edb89d2faa3a395934b4156b11d0a23d"
|
||||
SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "7cc586154e92305d5f89276107e1175fdf1f2cd95739aa6926cab4774c9ffe5d"
|
||||
SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "60d1b3cc02e48489638bfd976c1c979a40c92452cc93d0fc4ff4c16ba64c8f86"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "c3b249f7db0fe6db2e6a52ab183cdec544ccf7fa22c27cddb039e389da85b8f7"
|
||||
SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "49ed5e82d833b91a943163183f5c4cfccae92dca9b2758a846dc9f084e0a5651"
|
||||
SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "939fe0ffe27b4cbec4e8f43a69e795460f507b3b57753e2644546d9d57fe7a39"
|
||||
SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "51ad28e1e646c6659110ecc8189fc519916e9317c50a05d20e4555e919751edb"
|
||||
SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "a4c4421fe3037522908de081cc0577baaf75e7b8c532616ce79dd032a42c60e8"
|
||||
SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "9b46217dc6cf5c10cd65d343802c2da0f6f3a65d13ca10730258de9a74e1b7f1"
|
||||
SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "deffffaaa58b9464719fe4609ccad5db14e482aa48c3dcdb0a8aea62bb82332c"
|
||||
SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "381bd57fd07e6f93e56893091b8aaf0d097b9957d655c2dfbaeff35b2305ea29"
|
||||
|
||||
SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "2799a565834247d67b7e84dda209a662aaa6fd16bbb7d46d78882de3a56b7df0"
|
||||
SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "ea678064035f634c877bd3cc2559beb82bee10b5e2cddc2e3e37baea0ce4b472"
|
||||
SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "ecbf009619d6704f0a8384252b41d11851dadbf0d9809ec80d77765d029883a4"
|
||||
SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "f0661f1ae574947c6762b8ffd756de7e9199ff4790f1fcb9c994a3b49684a9a0"
|
||||
SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "20d5fe02ccfd86220d0fb5f170c44bc05af4bfdd8e9060f2e084b0af5faf53a7"
|
||||
SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "d1373618e6c4b702a4d00089f26ee048969e3b3bea0116bae3a9ba75508c0d98"
|
||||
SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "94443ac959cacd1bab96af3c690794c3ac4e05780c09dacdc85073134bf70c69"
|
||||
SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "186d39a91756738fd5ab90acfb944c6206b30374a780600b71d98f2dc2e509cc"
|
||||
|
||||
SRC_URI[cargo-snapshot-s390x.sha256sum] = "3697dab26ed0bc98f8d536d81f7176e5162dfc3629507d942b7c7d4e7b1db928"
|
||||
SRC_URI[clippy-snapshot-s390x.sha256sum] = "657521dcc91256cd023fe2c3c29d12d402f0a905dbd3713eddd5670c3fe36bb6"
|
||||
SRC_URI[rust-std-snapshot-s390x.sha256sum] = "e5eedfb57fe7f93c77ea91df391607ffe553349169c1b60b5d8ad040a7fd639b"
|
||||
SRC_URI[rustc-snapshot-s390x.sha256sum] = "c59a8246e5bd960b5875d8ab4e66be9d9adf376b61e99dee32a3e3e66f8197e6"
|
||||
SRC_URI[cargo-snapshot-s390x.sha256sum] = "f5122b1ba1f43d40013d6f24495e1a289b3c70bfc4d09d2e5e581d9f0c051786"
|
||||
SRC_URI[clippy-snapshot-s390x.sha256sum] = "9d1d789feea21bb3e4d0bf82e6bdfa67e1f33236186e6c9f0023219dd1ca2f76"
|
||||
SRC_URI[rust-std-snapshot-s390x.sha256sum] = "680e6c5ea712cb713c65c8b63ec44c441d60b5dc2bb7a3031088175dee33ba0b"
|
||||
SRC_URI[rustc-snapshot-s390x.sha256sum] = "b80743fb83e3f3a61f9267fde1d39709e009d8e25b85a7bc45f915c6b36fa836"
|
||||
|
||||
SRC_URI[cargo-snapshot-x86_64.sha256sum] = "30ec0ad9fca443ec12c544f9ce448dacdde411a45b9042961938b650e918ccfb"
|
||||
SRC_URI[clippy-snapshot-x86_64.sha256sum] = "0ba679a46d2b1f4e336acfbd892f50c800ba090ddc8de37fde679f9a6241ba7b"
|
||||
SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "e41150b52d923a3bbe166c4ecc5719f56576274b0d034d764768aee279ae2063"
|
||||
SRC_URI[rustc-snapshot-x86_64.sha256sum] = "9fadfcf71bc6a0ddfd026b9624163faf1c5689dd4a1f7cc1f857167ade4aa6eb"
|
||||
SRC_URI[cargo-snapshot-x86_64.sha256sum] = "0af971f126e0307d4e4d974f0e9c33fd1c2923274b14a0861823b5a019e8faf5"
|
||||
SRC_URI[clippy-snapshot-x86_64.sha256sum] = "f4bbb77674bc229b021b946dcf1d48a80d3d2fcfc7e10052cc01e2bfcc2769cd"
|
||||
SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "e5fec840744c3ff63611f6801de80f5ec8e099fa8225bf46d064810a9545e9b5"
|
||||
SRC_URI[rustc-snapshot-x86_64.sha256sum] = "89397dddb99733bad987e9fdc9d985a150af2e39c81766099e584d93991f5752"
|
||||
|
||||
SRC_URI[rust-std-snapshot-i586.sha256sum] = "d456e1b697ce63e327df44945478a276938bbd293bc564ff4ff075603e7f521d"
|
||||
SRC_URI[rust-std-snapshot-i586.sha256sum] = "97a22f0fc78a1731b3e6795e76e94f958702a6b4c3ff5b627c63e33455c45825"
|
||||
|
||||
SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "9a192c3a41d15f812346f5a36c4503937cbeffc8f05856a6747f6c880dbd8729"
|
||||
SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "c2df78ff30b84ed80a140820356c323ca3c707529f1caeeae37a5419c02cc7be"
|
||||
|
||||
SRC_URI += " \
|
||||
${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
|
||||
|
||||
@@ -3,18 +3,15 @@ RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}"
|
||||
SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \
|
||||
file://hardcodepaths.patch;patchdir=${RUSTSRC} \
|
||||
file://zlib-off64_t.patch;patchdir=${RUSTSRC} \
|
||||
file://0001-Revert-Map-source-absolute-paths-to-OUT_DIR-as-relat.patch;patchdir=${RUSTSRC} \
|
||||
file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \
|
||||
file://rv32-cargo-rustix-0.38.19-fix.patch;patchdir=${RUSTSRC} \
|
||||
file://repro-issue-fix-with-v175.patch;patchdir=${RUSTSRC} \
|
||||
file://rv32-cargo-rustix-0.38.28-fix.patch;patchdir=${RUSTSRC} \
|
||||
file://0001-cargo-do-not-write-host-information-into-compilation.patch;patchdir=${RUSTSRC} \
|
||||
file://rustdoc-repro-issue-fix-cargo-config-for-codegenunits.patch;patchdir=${RUSTSRC} \
|
||||
file://cross-targets-backport.patch;patchdir=${RUSTSRC} \
|
||||
file://deadcode-backport.patch;patchdir=${RUSTSRC} \
|
||||
file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \
|
||||
file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \
|
||||
"
|
||||
SRC_URI[rust.sha256sum] = "4d214c4189e4dd934d47e869fa5721b2c33dbbbdea21f2fc7fa6df3f38c1dea2"
|
||||
SRC_URI[rust.sha256sum] = "8065824f0255faa3901db8206e6f9423f6f8c07cec28bc6f2797c6c948310ece"
|
||||
|
||||
RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user