mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
rust: Upgrade 1.81.0->1.82.0
Rust stable version updated to 1.82.0. https://blog.rust-lang.org/2024/10/17/Rust-1.82.0.html Renamed the below patch to adapt the new version. rv32-cargo-rustix-0.38.28-fix.patch->rv32-cargo-rustix-0.38.34-fix.patch Dropped: rv32-rustix-libc-backend.patch [addressed with rv32-cargo-rustix-0.38.34-fix.patch] (From OE-Core rev: cfa431e734a642796140347f09c3c54b41a7bb75) Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4e1b34de24
commit
555849ead3
@@ -28,7 +28,7 @@ GLIBCVERSION ?= "2.41%"
|
||||
LINUXLIBCVERSION ?= "6.12%"
|
||||
QEMUVERSION ?= "9.2%"
|
||||
GOVERSION ?= "1.22%"
|
||||
RUSTVERSION ?= "1.81%"
|
||||
RUSTVERSION ?= "1.82%"
|
||||
|
||||
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
||||
PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
rust: reproducibility issue fix with v1.81
|
||||
rust: reproducibility issue fix with v1.82
|
||||
|
||||
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.
|
||||
By the following changes same hash values will be genarted even for diffrent build paths.
|
||||
@@ -65,6 +65,92 @@ index fe919a5239..2b1f442019 100644
|
||||
})?
|
||||
.to_string_lossy();
|
||||
|
||||
+ // Function to find the position of the first occurrence of the target substring
|
||||
+ fn find_target_position(s: &str, targets: &[&str]) -> Option<usize> {
|
||||
+ let mut pos = None;
|
||||
+ for target in targets {
|
||||
+ if let Some(index) = s.rfind(target) {
|
||||
+ //If a target is found and pos is None, set it
|
||||
+ if pos.is_none() || index < pos.unwrap() {
|
||||
+ pos = Some(index);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ pos
|
||||
+ }
|
||||
+
|
||||
+ let filtered_dirname = if let Some(pos) = find_target_position(&dirname, &target_substring) {
|
||||
+ dirname[pos..].to_string() //Keep everything from the target substring onwards
|
||||
+ } else {
|
||||
+ dirname.to_string() //If target substring is not found, keep the original dirname
|
||||
+ };
|
||||
// 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());
|
||||
+ hasher.write(filtered_dirname.as_bytes());
|
||||
let obj = dst
|
||||
.join(format!("{:016x}-{}", hasher.finish(), basename))
|
||||
.with_extension("o");
|
||||
diff --git a/vendor/cc-1.0.105/src/command_helpers.rs b/vendor/cc-1.0.105/src/command_helpers.rs
|
||||
index 2fce90a9da..584e386edd 100644
|
||||
--- a/vendor/cc-1.0.105/src/command_helpers.rs
|
||||
+++ b/vendor/cc-1.0.105/src/command_helpers.rs
|
||||
@@ -259,6 +259,7 @@ fn wait_on_child(
|
||||
/// and store them in the output Object.
|
||||
pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<Object>, Error> {
|
||||
let mut objects = Vec::with_capacity(files.len());
|
||||
+ let target_substring = ["rustc"];
|
||||
for file in files {
|
||||
let basename = file
|
||||
.file_name()
|
||||
@@ -279,10 +280,29 @@ pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<
|
||||
})?
|
||||
.to_string_lossy();
|
||||
|
||||
+ // Function to find the position of the first occurrence of the target substring
|
||||
+ fn find_target_position(s: &str, targets: &[&str]) -> Option<usize> {
|
||||
+ let mut pos = None;
|
||||
+ for target in targets {
|
||||
+ if let Some(index) = s.rfind(target) {
|
||||
+ //If a target is found and pos is None, set it
|
||||
+ if pos.is_none() || index < pos.unwrap() {
|
||||
+ pos = Some(index);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ pos
|
||||
+ }
|
||||
+
|
||||
+ let filtered_dirname = if let Some(pos) = find_target_position(&dirname, &target_substring) {
|
||||
+ dirname[pos..].to_string() //Keep everything from the target substring onwards
|
||||
+ } else {
|
||||
+ dirname.to_string() //If target substring is not found, keep the original dirname
|
||||
+ };
|
||||
// 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());
|
||||
+ hasher.write(filtered_dirname.as_bytes());
|
||||
let obj = dst
|
||||
.join(format!("{:016x}-{}", hasher.finish(), basename))
|
||||
.with_extension("o");
|
||||
diff --git a/vendor/cc-1.1.6/src/command_helpers.rs b/vendor/cc-1.1.6/src/command_helpers.rs
|
||||
index 910d068242..2b85a66729 100644
|
||||
--- a/vendor/cc-1.1.6/src/command_helpers.rs
|
||||
+++ b/vendor/cc-1.1.6/src/command_helpers.rs
|
||||
@@ -282,6 +282,7 @@ fn wait_on_child(
|
||||
/// and store them in the output Object.
|
||||
pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<Object>, Error> {
|
||||
let mut objects = Vec::with_capacity(files.len());
|
||||
+ let target_substring = ["rustc"];
|
||||
for file in files {
|
||||
let basename = file
|
||||
.file_name()
|
||||
@@ -302,10 +303,29 @@ pub(crate) fn objects_from_files(files: &[Arc<Path>], dst: &Path) -> Result<Vec<
|
||||
})?
|
||||
.to_string_lossy();
|
||||
|
||||
+ // Function to find the position of the first occurrence of the target substring
|
||||
+ fn find_target_position(s: &str, targets: &[&str]) -> Option<usize> {
|
||||
+ let mut pos = None;
|
||||
@@ -106,3 +192,19 @@ index b070eeb322..ba768ff86f 100644
|
||||
-{"files":{"Cargo.toml":"5c15212a19ab7432d834b92cc7f6af9461c860fbaf2a756cda9b6f40d7b0e845","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","src/command_helpers.rs":"15afbc35930a5a53f00d74a8910cff35caeb5511c26642cffe5630377aced901","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"d805931c886be881ed685c3f75b104e96068c4a7e51f48c9a304b3fdebcfdcda","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"352a0295c965c684904329d334f3b9889db3a9c3f201701f8db44e4d00e00515","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"47a58e904ac07da6682004b5b615dc83250b253a8d3e8ba1b9bcaf6cdf4fd142","src/tool.rs":"b48a7a0efbeb24dc4ccdb4326583ef074e69c670330681a5be9d5c19492e5f96","src/windows/com.rs":"be1564756c9f3ef1398eafeed7b54ba610caba28e8f6258d28a997737ebf9535","src/windows/find_tools.rs":"06aaf9d6247f407cb6077c68d0c9469f64a098eda2222059e7400588e7e05f6a","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":"5a440eb39d8a0c176b66177e8753186797793bc5d7896292c408fb44c12dfed3"},"package":"099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"Cargo.toml":"5c15212a19ab7432d834b92cc7f6af9461c860fbaf2a756cda9b6f40d7b0e845","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","src/command_helpers.rs":"c2a9981b1c9f5430ac2a41f2953064f2383e4064feb281dc76915e4972d52226","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"d805931c886be881ed685c3f75b104e96068c4a7e51f48c9a304b3fdebcfdcda","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"352a0295c965c684904329d334f3b9889db3a9c3f201701f8db44e4d00e00515","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"47a58e904ac07da6682004b5b615dc83250b253a8d3e8ba1b9bcaf6cdf4fd142","src/tool.rs":"b48a7a0efbeb24dc4ccdb4326583ef074e69c670330681a5be9d5c19492e5f96","src/windows/com.rs":"be1564756c9f3ef1398eafeed7b54ba610caba28e8f6258d28a997737ebf9535","src/windows/find_tools.rs":"06aaf9d6247f407cb6077c68d0c9469f64a098eda2222059e7400588e7e05f6a","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":"5a440eb39d8a0c176b66177e8753186797793bc5d7896292c408fb44c12dfed3"},"package":"099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4"}
|
||||
diff --git a/vendor/cc-1.0.105/.cargo-checksum.json b/vendor/cc-1.0.105/.cargo-checksum.json
|
||||
index f1ddc06886..880d637ada 100644
|
||||
--- a/vendor/cc-1.0.105/.cargo-checksum.json
|
||||
+++ b/vendor/cc-1.0.105/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"CHANGELOG.md":"b6200e753550c2285fd78f5d3d8198d3e67ee01e8504f21a4f2ad0c0574d8f19","Cargo.toml":"5f3c7c1de2fa554e02714ae57f7ef0be696c5dda3c71f197d2574abf92fd82a7","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"2a564c2c1e9a9c46e2b667d0b9574e2fda233e3c26dffbcd55373d052f042905","src/command_helpers.rs":"7c09d713b9a7ad45ad4fc431206681819465b871e7408573b311e300b1e9e21c","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"3213e05f797701c9da797509512991e18a40455b1d9478531640f90d1f13134e","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"8ef38688fdf867606a32500078094e0bb22fb2aec9ae11a392593bbfc101ed4f","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"b12a0821586ab3945fe4ff574cd76699c3694a103dbf1b5764fd1fbcbbd7c37e","src/tool.rs":"24291f79784a990602e2244ccf965127088e43bd58745a3829d0d06dddd588b6","src/utilities.rs":"a13bb0a351fcef72823485b1b5dc4f514c533fa4feac95deb66ed9e5fbfe7b53","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"8eb56f4af6cc40b943e25dba9f26d1629c0c464b2839a6c5aa8d3f0b973a649c","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"5208975e568d83b6b05cc0a063c8e7e9acc2b43bee6da15616a5b73e109d7437"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"CHANGELOG.md":"b6200e753550c2285fd78f5d3d8198d3e67ee01e8504f21a4f2ad0c0574d8f19","Cargo.toml":"5f3c7c1de2fa554e02714ae57f7ef0be696c5dda3c71f197d2574abf92fd82a7","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"2a564c2c1e9a9c46e2b667d0b9574e2fda233e3c26dffbcd55373d052f042905","src/command_helpers.rs":"7b60816a28486743beec6658f43cdf348d87613193b008f6bcd7a19eb6e24407","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"3213e05f797701c9da797509512991e18a40455b1d9478531640f90d1f13134e","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"8ef38688fdf867606a32500078094e0bb22fb2aec9ae11a392593bbfc101ed4f","src/parallel/mod.rs":"bd9c1334d17d138c281961c690b8d8118a2d6295a7d6cd7296826255436fa063","src/parallel/stderr.rs":"a2d18ba3f2e04deb9047ece9ab7ca5452d9a76b515afbe20a76307e31597f34b","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"b12a0821586ab3945fe4ff574cd76699c3694a103dbf1b5764fd1fbcbbd7c37e","src/tool.rs":"24291f79784a990602e2244ccf965127088e43bd58745a3829d0d06dddd588b6","src/utilities.rs":"a13bb0a351fcef72823485b1b5dc4f514c533fa4feac95deb66ed9e5fbfe7b53","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"8eb56f4af6cc40b943e25dba9f26d1629c0c464b2839a6c5aa8d3f0b973a649c","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"5208975e568d83b6b05cc0a063c8e7e9acc2b43bee6da15616a5b73e109d7437"}
|
||||
diff --git a/vendor/cc-1.1.6/.cargo-checksum.json b/vendor/cc-1.1.6/.cargo-checksum.json
|
||||
index c8814c0183..7a7af5d2e7 100644
|
||||
--- a/vendor/cc-1.1.6/.cargo-checksum.json
|
||||
+++ b/vendor/cc-1.1.6/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"CHANGELOG.md":"27c152bba5a9e4aa5f8075f618fec105590804ba75dd4581bb54cdcf3d719e91","Cargo.toml":"a772649c4058df65a5977d7c2d37afdbb7bcf68f3b47428acef6502158c0f1c4","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"5b765fc5bf3ff7367aa6acf67be465bdc776b22c090d3bbfe11816bd023c7a18","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"2f6d061032899f2e60e3932041c353d327ba6f27c7eb747fd37f8d18a750e6a0","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"f4ed0a03d89a42bfd5527133d12b267af519b745f3f2b997ed293df15a2641b8","src/parallel/mod.rs":"55fb4c2d15e66677b2ed5ffa6d65ea161bcf1a1e1dc7910ee3bde06f2f67ab14","src/parallel/once_lock.rs":"d13e4cb82d6bca3297ca8671d83a40dd5affd7ac89191d733dd451867181bb02","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"f5d8d343be6db681605ad5e9adab9f10c19b9d772af241da285ddbe54740486d","src/utilities.rs":"a13bb0a351fcef72823485b1b5dc4f514c533fa4feac95deb66ed9e5fbfe7b53","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"a03cd94d7a36deb0e4490d9ce070624a0e79f082cdfc4c32f52a8cbe557fd0b5","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"CHANGELOG.md":"27c152bba5a9e4aa5f8075f618fec105590804ba75dd4581bb54cdcf3d719e91","Cargo.toml":"a772649c4058df65a5977d7c2d37afdbb7bcf68f3b47428acef6502158c0f1c4","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"378f5840b258e2779c39418f3f2d7b2ba96f1c7917dd6be0713f88305dbda397","README.md":"f1ddbede208a5b78333a25dac0a7598e678e9b601a7d99a791069bddaf180dfe","clippy.toml":"aa7850db4350883c8f373bd0d6b4d19bf3b75f13c1c238e24368c109cb52fb1d","src/command_helpers.rs":"36e27f089f0e9276bb9a5ebe9b5c4706c560106ffa5652b1e08e8285816910c3","src/detect_compiler_family.c":"72903b91d7a28f49b39e7d730f4c9c4bb39fb901948fa1279cd08abf392f5a29","src/lib.rs":"2f6d061032899f2e60e3932041c353d327ba6f27c7eb747fd37f8d18a750e6a0","src/parallel/async_executor.rs":"4ce24435fff6b6555b43fee042c16bd65d4150d0346567f246b9190d85b45983","src/parallel/job_token.rs":"f4ed0a03d89a42bfd5527133d12b267af519b745f3f2b997ed293df15a2641b8","src/parallel/mod.rs":"55fb4c2d15e66677b2ed5ffa6d65ea161bcf1a1e1dc7910ee3bde06f2f67ab14","src/parallel/once_lock.rs":"d13e4cb82d6bca3297ca8671d83a40dd5affd7ac89191d733dd451867181bb02","src/parallel/stderr.rs":"74384d41198740a6fce0877f144262db09fb091225fa8fbfa771314bb11487c6","src/target_info.rs":"342be00f6215e161d8163e272a2945bb9f52f171648e15e11d46800a73186955","src/tempfile.rs":"ebafb5b0e5d08b0706916ed911d4245240e60c3e2d0c9a1630c520842988a2b3","src/tool.rs":"f5d8d343be6db681605ad5e9adab9f10c19b9d772af241da285ddbe54740486d","src/utilities.rs":"a13bb0a351fcef72823485b1b5dc4f514c533fa4feac95deb66ed9e5fbfe7b53","src/windows/com.rs":"a2800ddb81215fff2bf618336f5c4ff8e8bdb746dd18b795873c7304b3f2a5e3","src/windows/find_tools.rs":"a03cd94d7a36deb0e4490d9ce070624a0e79f082cdfc4c32f52a8cbe557fd0b5","src/windows/mod.rs":"34cfa201cfbcac7ccaa3ea5295d3e4200439af3cc5c6433baf81502596040a89","src/windows/registry.rs":"c521b72c825e8095843e73482ffa810ed066ad8bb9f86e6db0c5c143c171aba1","src/windows/setup_config.rs":"754439cbab492afd44c9755abcbec1a41c9b2c358131cee2df13c0e996dbbec8","src/windows/vs_instances.rs":"946527cf8fd32c3472f6a2884dcdec290763101097334c7478f9c24c3950db6b","src/windows/winapi.rs":"250d51c1826d1a2329e9889dd9f058cfce253dbf2a678b076147c6cdb5db046c","src/windows/windows_sys.rs":"e2714c8307bfa083b9745eb0e46cadd7f98d7b88abf45a7637172019324e34b8","src/windows/windows_targets.rs":"5b4648ebc22b028caca9f4b4bf8881fe2d094b7bec217264ba2e6e2c49d1ccee"},"package":"2aba8f4e9906c7ce3c73463f62a7f0c65183ada1a2d47e397cc8810827f9694f"}
|
||||
|
||||
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,7 +4,7 @@ HOMEPAGE = "http://www.rust-lang.org"
|
||||
|
||||
# check src/llvm-project/llvm/CMakeLists.txt for llvm version in use
|
||||
#
|
||||
LLVM_RELEASE = "17.0.6"
|
||||
LLVM_RELEASE = "19.1.1"
|
||||
|
||||
require rust-source.inc
|
||||
|
||||
@@ -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.80.1"
|
||||
SNAPSHOT_VERSION = "1.81.0"
|
||||
|
||||
SRC_URI[cargo-snapshot-aarch64.sha256sum] = "a8c4f1ab2f65e7579eb80153fd1ca9a0b365ca31ca6ae0ebd34156e0724dfc60"
|
||||
SRC_URI[clippy-snapshot-aarch64.sha256sum] = "3d522172f9797e65c609a640af7f4ac331525150c91f93e41798c5578e9523e9"
|
||||
SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "8fc4bfc3a5fe64f8530964a5ea3bda95e39357eff14d6a8bb24f010ecc912923"
|
||||
SRC_URI[rustc-snapshot-aarch64.sha256sum] = "fc21ca734504c3d0ccaf361f05cb491142c365ce8a326f942206b0199c49bbb4"
|
||||
SRC_URI[cargo-snapshot-aarch64.sha256sum] = "76f8927e4923c26c51b60ef99a29f3609843b3a2730f0bdf2ea6958626f11b11"
|
||||
SRC_URI[clippy-snapshot-aarch64.sha256sum] = "30a00260510403199d1cb919769b0a2e76eead15c352fc992bc193d795a2b2ff"
|
||||
SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "85567f037cee338f8ec8f9b6287a7f200d221658a996cba254abc91606ece6f4"
|
||||
SRC_URI[rustc-snapshot-aarch64.sha256sum] = "301f651f38f8c52ebaad0ac7eb211a5ea25c3b690686d1c265febeee62d2c6fc"
|
||||
|
||||
SRC_URI[cargo-snapshot-i686.sha256sum] = "b0f6d95c8a292b1276f30b1bca14197b28297c2fcd51974ef320d05497be3ca3"
|
||||
SRC_URI[clippy-snapshot-i686.sha256sum] = "a6899744ed734dd3a9f59631a943721bfe67ed6273e60dd67e8636820c1bfffd"
|
||||
SRC_URI[rust-std-snapshot-i686.sha256sum] = "6547876dcf243aeeeadaa38dbdce02c316b6f83305a5337520e02eaffc90834b"
|
||||
SRC_URI[rustc-snapshot-i686.sha256sum] = "b40c1437491d0a24756b6baabb14c2d4d0def199bc652f16e417addb171ac977"
|
||||
SRC_URI[cargo-snapshot-i686.sha256sum] = "44f74fbf64dd2627310e796cfcbde75c42c3435e93e880f1291c0e975b42c1f5"
|
||||
SRC_URI[clippy-snapshot-i686.sha256sum] = "3d5cdbe24fd0cefe46bfa513dbf56631bef38d04bae1cfbebaa407c33430fecb"
|
||||
SRC_URI[rust-std-snapshot-i686.sha256sum] = "4ed9085460e444de9dee246080126f5e73062802b99aaff620d2aa827f60d972"
|
||||
SRC_URI[rustc-snapshot-i686.sha256sum] = "8039f645445f99c0e293397b53a6696481b7d58166198605aca0eaa998f4f11f"
|
||||
|
||||
SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "843272f7ab9b2f8c24f1747249275e0472fb2ede90f3a404e897559ddb898c18"
|
||||
SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "e4dba3b66bd8f811c8508fd3be1bf136b714018768d9f16a96f601ebd375bcc6"
|
||||
SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "68f30f3743b573e205ecc1733e1250ffb8d8d81e131c3b2f4a819b7e1e610d62"
|
||||
SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "5ae96e69573690aa48ffb9fecc62826ffb5d2fc280d19d1e54ab36ff48e28b68"
|
||||
SRC_URI[cargo-snapshot-loongarch64.sha256sum] = "d3a66e30a323fc20acd3b85f9a184b962a84ac9debf59c313d30c0146448cbb1"
|
||||
SRC_URI[clippy-snapshot-loongarch64.sha256sum] = "81044ebd81783b013cdc207a7304dc59baa7c1782a6f070ecfa1a6671844e26c"
|
||||
SRC_URI[rust-std-snapshot-loongarch64.sha256sum] = "37f89523e04b960ba34c0cd145c4a78751961b6007ad4ae6d8b92389c488d696"
|
||||
SRC_URI[rustc-snapshot-loongarch64.sha256sum] = "90eb5646497f1cf566121b726b0598f76acf38ce9423b0889b4ad71dffb59aa1"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc.sha256sum] = "a88402d95f2959caaff20037144d3109a69ce3310e1dfbb27231dacd50fa2988"
|
||||
SRC_URI[clippy-snapshot-powerpc.sha256sum] = "ae1762dc8fd679d65154d5af9500c7539f55ec9d049ab736a910893d382fd6c0"
|
||||
SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "88e8144c25ef8347471dd53eea7af62e5b31eadf0788f4a82be7560f5a0be255"
|
||||
SRC_URI[rustc-snapshot-powerpc.sha256sum] = "5f435b48316a719c87fb27f49c0b37884cef7dd3ecba76df9db2a4008cc03458"
|
||||
SRC_URI[cargo-snapshot-powerpc.sha256sum] = "3ffb73eaf288ebe02c06737c53398cbcf7f9e15bd53d6ec3f85be1364aff16ea"
|
||||
SRC_URI[clippy-snapshot-powerpc.sha256sum] = "c6583a26dc5fda266c75b7bf2e5f6c1c9d5452f2dc3044bf99f43e59e14fead9"
|
||||
SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "3b3473de46f7ea268130d8c72140dacab9118b2e8611fc0e23ed99091f25eb45"
|
||||
SRC_URI[rustc-snapshot-powerpc.sha256sum] = "8da65f141f7b8c53d5802fc61711cccf28b0512a5f766809cbe882c6f8ec3011"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "be2707eaa24f34775c98044f92c391a2c6037a2214adab9e83c62903001fb577"
|
||||
SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "a422a3b638c42f26ada441d2940a44a8c0f1ade9459f86d48a3d8fcc866bc60b"
|
||||
SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "cb5ad871a0a7efe7c270cbf319d006a84e8f8526acb22ce941f2840fd0e368c2"
|
||||
SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "e3257dc0790728498cf2773c3ca66d728381cc6d1f403969bd282223bd97aa3d"
|
||||
SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "687c665259646f859e6ef9b3b8baf49c2759e19a20aa029251130495fe5bb07d"
|
||||
SRC_URI[clippy-snapshot-powerpc64.sha256sum] = "ad77d9511489a7a95580d8c4062e7eddc509d5bdec590a074c7378f2e7f36b00"
|
||||
SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "665f3c0a8752f8e5d973cf9b94e5c1be94954178ca8378a318b6e21e7a7b370c"
|
||||
SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "c4e0968c6a16916a339a2dea9063d14f3847cee65534b525d2838b827e7dad18"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "a523cf21d751be597a19830136e3479b7f22d3642d95f53f78a11e770d971d28"
|
||||
SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "93ce75f4edf2c3b792714d33e279c5743d9d3ef841f8f2d8a7e76c9c7d74f952"
|
||||
SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "06633b26384cba594424ec02acf0d64d4724033a856a2e039a18a518cacf1d3e"
|
||||
SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "5f72f8723a2023b0bbd64cfc3d10959c4210b68579ad8e174809d17e1e2ead36"
|
||||
SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "813d2dcd603a1ad65a5de77515f4c94fdae301a1e1e8afcc2541076eebaba848"
|
||||
SRC_URI[clippy-snapshot-powerpc64le.sha256sum] = "e35815af6cb90d70fd4730020ae48d4145487ff9b8c264caef5224c843d85744"
|
||||
SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "5ba237cfbd18806bf77fbe8bc31b14a17f3d14acb30a022955cf047eb8d41056"
|
||||
SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "734f407345b05617d62a30d96d8305b51b7cf7de3b1bdc160449726ea8f51ae0"
|
||||
|
||||
SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "29e996af02293562f6ee79032a5414fffbf77e75cb7f0ba89053849986cb6303"
|
||||
SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "24465ce5fe8f04d9b54c31a2c5bcaba6d702925ac3cdec0af5b954643013db90"
|
||||
SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "1fbbe8df7596682466ae2fca534d5f6bae8b3f32577450e2632955268a786a06"
|
||||
SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "838d78ef8b9a11751b1dfb2cf2abfdc845deca8f0002c11930d54577b433cb93"
|
||||
SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "4f41aeca96e6de516ad2150a98136948527907690301fef4f127676f165e159e"
|
||||
SRC_URI[clippy-snapshot-riscv64gc.sha256sum] = "65a65485972507cb5e89e64056b4602489bae76cff4a9c152e69d91365ff7433"
|
||||
SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "9882cda0a5547405e64357a4964d525f46d1395f85b7e7b6e69cbd4dbcd46ec3"
|
||||
SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "05d16740639cc87d258fad152d2a0f7e74dc571b5216ae6260d645a2f4f09c84"
|
||||
|
||||
SRC_URI[cargo-snapshot-s390x.sha256sum] = "0c22278b4e8afa79de0cae798575c9ef258e73d0555b18a84efd5d042c69c6e2"
|
||||
SRC_URI[clippy-snapshot-s390x.sha256sum] = "52c3368de0e01b07f89f74a4b36279be1b7d2312b05253c7c9ccb50bc38f263a"
|
||||
SRC_URI[rust-std-snapshot-s390x.sha256sum] = "e732ce690fd63e3c2576bfe83a556031c4805c17b35b8a1c1a0ddde5cee31d46"
|
||||
SRC_URI[rustc-snapshot-s390x.sha256sum] = "0c06439db686645be36390969b503996608f25954eab2b7fd9a2915da6c0bd7b"
|
||||
SRC_URI[cargo-snapshot-s390x.sha256sum] = "11291e98730186479854a304fccf586824e16f90b4e4cee6c9e17deaab04352a"
|
||||
SRC_URI[clippy-snapshot-s390x.sha256sum] = "38b9003148a5222a0fb117cae494bf2a05227e6eff877e26b233433809f81e01"
|
||||
SRC_URI[rust-std-snapshot-s390x.sha256sum] = "5549622876714df21235aa6d26731f31c37a7e1629a3f6c5262dbb0b1f10038c"
|
||||
SRC_URI[rustc-snapshot-s390x.sha256sum] = "6ea458b49aa9edc26f021cc48e6223d1cc05b1bf092312ada978e66037fa63e2"
|
||||
|
||||
SRC_URI[cargo-snapshot-x86_64.sha256sum] = "da9340b3249f08656cd4fe10e47aa292c7cd79903870a5863064731a00b5b27e"
|
||||
SRC_URI[clippy-snapshot-x86_64.sha256sum] = "e01d434e952821900f37824c797f87ed16db79e54fcbd2f396b2f1b5cb2e3c55"
|
||||
SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "b793405538d8b6ec1632779efa8835b07b8987db2008c5c9c809bc4b17dcb121"
|
||||
SRC_URI[rustc-snapshot-x86_64.sha256sum] = "0367f069b49560af5c61810530d4721ad13eecfcb48952e67a2c32be903d5043"
|
||||
SRC_URI[cargo-snapshot-x86_64.sha256sum] = "c50ee4b1ae8695461930e36d5465dddb7c7a0e0f0aa6cbd60de120b17c38b841"
|
||||
SRC_URI[clippy-snapshot-x86_64.sha256sum] = "c545ea0f2901eb1cd652721350147df11744afbb97eb117d89b1f313e9920ffb"
|
||||
SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "6ddf80f254e8eea9956308ba89fd68e1ac7885853df9239b07bbc9f047b7562f"
|
||||
SRC_URI[rustc-snapshot-x86_64.sha256sum] = "988a4e4cdecebe4f4a0c52ec4ade5a5bfc58d6958969f5b1e8aac033bda2613e"
|
||||
|
||||
SRC_URI[rust-std-snapshot-i586.sha256sum] = "94927cdfa7cad391700b1a77730bb17aa364831ff6a6c40ce6500a14c1314647"
|
||||
SRC_URI[rust-std-snapshot-i586.sha256sum] = "91ebf62a1f95047b93d4a4fec280fb4897cc7921633fd55f5c5a3aeb2b140bd6"
|
||||
|
||||
SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "ee7fa0104b019eec22750ac635e699d21dbb5430fc6982c495533900ec568d5b"
|
||||
SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "194a3c04a2390b1e07fdb114eb2c48e962219f0a1b710e2120a9806963a2520b"
|
||||
|
||||
SRC_URI += " \
|
||||
${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
|
||||
|
||||
@@ -2,14 +2,13 @@ RUST_VERSION ?= "${@d.getVar('PV').split('-')[0]}"
|
||||
|
||||
SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;name=rust \
|
||||
file://zlib-off64_t.patch;patchdir=${RUSTSRC} \
|
||||
file://rv32-rustix-libc-backend.patch;patchdir=${RUSTSRC} \
|
||||
file://rv32-cargo-rustix-0.38.28-fix.patch;patchdir=${RUSTSRC} \
|
||||
file://rv32-cargo-rustix-0.38.34-fix.patch;patchdir=${RUSTSRC} \
|
||||
file://rust-oe-selftest.patch;patchdir=${RUSTSRC} \
|
||||
file://repro-issue-fix-with-cc-crate-hashmap.patch;patchdir=${RUSTSRC} \
|
||||
file://oeqa-selftest-Increase-timeout-in-process-sigpipe-ru.patch;patchdir=${RUSTSRC} \
|
||||
file://0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch;patchdir=${RUSTSRC} \
|
||||
"
|
||||
SRC_URI[rust.sha256sum] = "36217ef7e32f40a180e3d79bd666b4dfdaed49dd381023a5fb765fd12d0092ce"
|
||||
SRC_URI[rust.sha256sum] = "1276a0bb8fa12288ba6fa96597d28b40e74c44257c051d3bc02c2b049bb38210"
|
||||
|
||||
RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user