mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
rust: Upgrade 1.70.0 -> 1.71.0
Switch libstd-rs to use the dummy `sysroot` crate which represents the standard library crates. Target getrandom-open64.patch at 0.2.8 (merged for 0.2.9). Drop bootstrap_fail.patch (backport merged). https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html (From OE-Core rev: c3eba94ee44adcd3a0aa61f6b087c15c02e4697f) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
7a20381430
commit
93292feac4
@@ -25,7 +25,7 @@ LINUXLIBCVERSION ?= "6.5%"
|
||||
QEMUVERSION ?= "8.1%"
|
||||
GOVERSION ?= "1.20%"
|
||||
LLVMVERSION ?= "17.%"
|
||||
RUSTVERSION ?= "1.70%"
|
||||
RUSTVERSION ?= "1.71%"
|
||||
|
||||
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"
|
||||
PREFERRED_VERSION_gcc-cross-${TARGET_ARCH} ?= "${GCCVERSION}"
|
||||
|
||||
@@ -19,10 +19,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
library/std/src/sys/unix/fs.rs | 27 ++++++++++++++++++++-------
|
||||
3 files changed, 38 insertions(+), 12 deletions(-)
|
||||
|
||||
Index: rustc-1.70.0-src/library/std/src/os/linux/fs.rs
|
||||
Index: rustc-1.71.0-src/library/std/src/os/linux/fs.rs
|
||||
===================================================================
|
||||
--- rustc-1.70.0-src.orig/library/std/src/os/linux/fs.rs
|
||||
+++ rustc-1.70.0-src/library/std/src/os/linux/fs.rs
|
||||
--- rustc-1.71.0-src.orig/library/std/src/os/linux/fs.rs
|
||||
+++ rustc-1.71.0-src/library/std/src/os/linux/fs.rs
|
||||
@@ -329,7 +329,14 @@ pub trait MetadataExt {
|
||||
impl MetadataExt for Metadata {
|
||||
#[allow(deprecated)]
|
||||
@@ -39,11 +39,11 @@ Index: rustc-1.70.0-src/library/std/src/os/linux/fs.rs
|
||||
}
|
||||
fn st_dev(&self) -> u64 {
|
||||
self.as_inner().as_inner().st_dev as u64
|
||||
Index: rustc-1.70.0-src/library/std/src/sys/unix/fd.rs
|
||||
Index: rustc-1.71.0-src/library/std/src/sys/unix/fd.rs
|
||||
===================================================================
|
||||
--- rustc-1.70.0-src.orig/library/std/src/sys/unix/fd.rs
|
||||
+++ rustc-1.70.0-src/library/std/src/sys/unix/fd.rs
|
||||
@@ -121,9 +121,12 @@ impl FileDesc {
|
||||
--- rustc-1.71.0-src.orig/library/std/src/sys/unix/fd.rs
|
||||
+++ rustc-1.71.0-src/library/std/src/sys/unix/fd.rs
|
||||
@@ -122,9 +122,12 @@ impl FileDesc {
|
||||
}
|
||||
|
||||
pub fn read_at(&self, buf: &mut [u8], offset: u64) -> io::Result<usize> {
|
||||
@@ -58,7 +58,7 @@ Index: rustc-1.70.0-src/library/std/src/sys/unix/fd.rs
|
||||
use libc::pread64;
|
||||
|
||||
unsafe {
|
||||
@@ -276,9 +279,12 @@ impl FileDesc {
|
||||
@@ -277,9 +280,12 @@ impl FileDesc {
|
||||
}
|
||||
|
||||
pub fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> {
|
||||
@@ -73,10 +73,10 @@ Index: rustc-1.70.0-src/library/std/src/sys/unix/fd.rs
|
||||
use libc::pwrite64;
|
||||
|
||||
unsafe {
|
||||
Index: rustc-1.70.0-src/library/std/src/sys/unix/fs.rs
|
||||
Index: rustc-1.71.0-src/library/std/src/sys/unix/fs.rs
|
||||
===================================================================
|
||||
--- rustc-1.70.0-src.orig/library/std/src/sys/unix/fs.rs
|
||||
+++ rustc-1.70.0-src/library/std/src/sys/unix/fs.rs
|
||||
--- rustc-1.71.0-src.orig/library/std/src/sys/unix/fs.rs
|
||||
+++ rustc-1.71.0-src/library/std/src/sys/unix/fs.rs
|
||||
@@ -47,9 +47,13 @@ use libc::{c_int, mode_t};
|
||||
all(target_os = "linux", target_env = "gnu")
|
||||
))]
|
||||
@@ -144,7 +144,7 @@ Index: rustc-1.70.0-src/library/std/src/sys/unix/fs.rs
|
||||
target_os = "android",
|
||||
target_os = "linux",
|
||||
target_os = "solaris",
|
||||
@@ -787,7 +800,7 @@ impl DirEntry {
|
||||
@@ -805,7 +818,7 @@ impl DirEntry {
|
||||
}
|
||||
|
||||
#[cfg(all(
|
||||
@@ -153,7 +153,7 @@ Index: rustc-1.70.0-src/library/std/src/sys/unix/fs.rs
|
||||
not(miri)
|
||||
))]
|
||||
pub fn metadata(&self) -> io::Result<FileAttr> {
|
||||
@@ -811,7 +824,7 @@ impl DirEntry {
|
||||
@@ -829,7 +842,7 @@ impl DirEntry {
|
||||
}
|
||||
|
||||
#[cfg(any(
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,127 +0,0 @@
|
||||
rust: Fix BOOTSTRAP_CARGO failure during Rust Oe-selftest
|
||||
|
||||
BOOTSTRAP_CARGO command fails due to codegen flags like `-Cpanic` were
|
||||
prevented from being reflected in the current target configuration which
|
||||
leads to Rust build(rust version 1.70) failure in Oe-selftest.
|
||||
|
||||
Upstream-Status: Backport [https://github.com/rust-lang/rust/commit/9dffb52738e0b2ccd15af36d4607a709b21e020c]
|
||||
|
||||
Signed-off-by: Yash Shinde <yashinde145@gmail.com>
|
||||
---
|
||||
diff --git a/src/tools/compiletest/src/common.rs b/src/tools/compiletest/src/common.rs
|
||||
--- a/src/tools/compiletest/src/common.rs
|
||||
+++ b/src/tools/compiletest/src/common.rs
|
||||
@@ -431,7 +431,6 @@
|
||||
.unwrap()
|
||||
};
|
||||
|
||||
- let mut current = None;
|
||||
let mut all_targets = HashSet::new();
|
||||
let mut all_archs = HashSet::new();
|
||||
let mut all_oses = HashSet::new();
|
||||
@@ -452,14 +451,11 @@
|
||||
}
|
||||
all_pointer_widths.insert(format!("{}bit", cfg.pointer_width));
|
||||
|
||||
- if target == config.target {
|
||||
- current = Some(cfg);
|
||||
- }
|
||||
all_targets.insert(target.into());
|
||||
}
|
||||
|
||||
Self {
|
||||
- current: current.expect("current target not found"),
|
||||
+ current: Self::get_current_target_config(config),
|
||||
all_targets,
|
||||
all_archs,
|
||||
all_oses,
|
||||
@@ -471,6 +467,89 @@
|
||||
}
|
||||
}
|
||||
|
||||
+ fn get_current_target_config(config: &Config) -> TargetCfg {
|
||||
+ let mut arch = None;
|
||||
+ let mut os = None;
|
||||
+ let mut env = None;
|
||||
+ let mut abi = None;
|
||||
+ let mut families = Vec::new();
|
||||
+ let mut pointer_width = None;
|
||||
+ let mut endian = None;
|
||||
+ let mut panic = None;
|
||||
+
|
||||
+ for config in
|
||||
+ rustc_output(config, &["--print=cfg", "--target", &config.target]).trim().lines()
|
||||
+ {
|
||||
+ let (name, value) = config
|
||||
+ .split_once("=\"")
|
||||
+ .map(|(name, value)| {
|
||||
+ (
|
||||
+ name,
|
||||
+ Some(
|
||||
+ value
|
||||
+ .strip_suffix("\"")
|
||||
+ .expect("key-value pair should be properly quoted"),
|
||||
+ ),
|
||||
+ )
|
||||
+ })
|
||||
+ .unwrap_or_else(|| (config, None));
|
||||
+
|
||||
+ match name {
|
||||
+ "target_arch" => {
|
||||
+ arch = Some(value.expect("target_arch should be a key-value pair").to_string());
|
||||
+ }
|
||||
+ "target_os" => {
|
||||
+ os = Some(value.expect("target_os sould be a key-value pair").to_string());
|
||||
+ }
|
||||
+ "target_env" => {
|
||||
+ env = Some(value.expect("target_env should be a key-value pair").to_string());
|
||||
+ }
|
||||
+ "target_abi" => {
|
||||
+ abi = Some(value.expect("target_abi should be a key-value pair").to_string());
|
||||
+ }
|
||||
+ "target_family" => {
|
||||
+ families
|
||||
+ .push(value.expect("target_family should be a key-value pair").to_string());
|
||||
+ }
|
||||
+ "target_pointer_width" => {
|
||||
+ pointer_width = Some(
|
||||
+ value
|
||||
+ .expect("target_pointer_width should be a key-value pair")
|
||||
+ .parse::<u32>()
|
||||
+ .expect("target_pointer_width should be a valid u32"),
|
||||
+ );
|
||||
+ }
|
||||
+ "target_endian" => {
|
||||
+ endian = Some(match value.expect("target_endian should be a key-value pair") {
|
||||
+ "big" => Endian::Big,
|
||||
+ "little" => Endian::Little,
|
||||
+ _ => panic!("target_endian should be either 'big' or 'little'"),
|
||||
+ });
|
||||
+ }
|
||||
+ "panic" => {
|
||||
+ panic = Some(match value.expect("panic should be a key-value pair") {
|
||||
+ "abort" => PanicStrategy::Abort,
|
||||
+ "unwind" => PanicStrategy::Unwind,
|
||||
+ _ => panic!("panic should be either 'abort' or 'unwind'"),
|
||||
+ });
|
||||
+ }
|
||||
+ _ => (),
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ TargetCfg {
|
||||
+ arch: arch.expect("target configuration should specify target_arch"),
|
||||
+ os: os.expect("target configuration should specify target_os"),
|
||||
+ env: env.expect("target configuration should specify target_env"),
|
||||
+ abi: abi.expect("target configuration should specify target_abi"),
|
||||
+ families,
|
||||
+ pointer_width: pointer_width
|
||||
+ .expect("target configuration should specify target_pointer_width"),
|
||||
+ endian: endian.expect("target configuration should specify target_endian"),
|
||||
+ panic: panic.expect("target configuration should specify panic"),
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
// #[cfg(bootstrap)]
|
||||
// Needed only for one cycle, remove during the bootstrap bump.
|
||||
fn collect_all_slow(config: &Config) -> HashMap<String, TargetCfg> {
|
||||
@@ -14,15 +14,19 @@ for opening device files and not real files
|
||||
Upstream-Status: Backport [https://github.com/rust-random/getrandom/commit/7f73e3ccc1f53bfc419e4ddcfd343766aa5837b6]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
|
||||
--- a/vendor/getrandom/.cargo-checksum.json
|
||||
+++ b/vendor/getrandom/.cargo-checksum.json
|
||||
Index: rustc-1.71.0-src/vendor/getrandom-0.2.8/.cargo-checksum.json
|
||||
===================================================================
|
||||
--- rustc-1.71.0-src.orig/vendor/getrandom-0.2.8/.cargo-checksum.json
|
||||
+++ rustc-1.71.0-src/vendor/getrandom-0.2.8/.cargo-checksum.json
|
||||
@@ -1 +1 @@
|
||||
-{"files":{"CHANGELOG.md":"cb054908f44d0e7f229dcc4580bcc4f2c3e2da198c84292710f730b33cc3d5f6","Cargo.toml":"708a5d9c89443b937aa50260e26a01f9ebfdd50a7ae312956795834e3187baf3","LICENSE-APACHE":"aaff376532ea30a0cd5330b9502ad4a4c8bf769c539c87ffe78819d188a18ebf","LICENSE-MIT":"209fbbe0ad52d9235e37badf9cadfe4dbdc87203179c0899e738b39ade42177b","README.md":"7ae74633326a22fd6298d7f209fb14884277bd98049795f444945acbb2b0dfbd","benches/mod.rs":"c01b05c6d690a4b8937d25252f1385a6bff378517318ce832ea520036aabd571","src/3ds.rs":"0f48fc15f89b518fb92e06aaa4838b62dc073598e8f288df56ad1e5a9251af1e","src/bsd_arandom.rs":"d90c419d4def20f83e7535cd3f5ec07035045011a50c3652951d196a120c5d3e","src/custom.rs":"ce4640776d36872dbbd5e194bf29f6bcda3ef4549ca04fe59f5aeab1dea1d821","src/dragonfly.rs":"47f933eac189f6ea48ecf021efd0747ebce1b43d1bece6bbf72a951bab705987","src/error.rs":"ff09a7e02d7aff3e45eca6bbef6c686cc46f3c2371a0897a856e4dec4b942e46","src/error_impls.rs":"9c34832ebb99cd5e31bc5c8ffc5beb5b3fa6f7ff0226aaa1cdf8e10e6d64b324","src/espidf.rs":"19f101486584fde6dad962f4d9792de168658047312106641a5caf6866a5bbcf","src/fuchsia.rs":"470d8509deb5b06fa6417f294c0a49e0e35a580249a5d8944c3be5aa746f64ea","src/ios.rs":"4bad4f5c096a50338b86aeac91a937c18bc55b9555e6f34806ad13732e64523d","src/js.rs":"370610a19045012c87c986279aad6b150cd728a44015dcc5779256e4a2e6629b","src/lib.rs":"8e5c2c8edcbdbf2cee46b86d96d951cc6d5c00f7c11cfc9c27de27e756b5c4cc","src/linux_android.rs":"ec24575aa4ae71b6991290dadfdea931b05397c3faababf24bd794f1a9624835","src/macos.rs":"6c09827ad5292cd022e063efa79523bfdb50ed08b9867ebaa007cd321b8d218e","src/openbsd.rs":"450a23ead462d4a840fee4aa0bfdab1e3d88c8f48e4bb608d457429ddeca69c0","src/rdrand.rs":"79d23183b1905d61bd9df9729dc798505a2ed750d3339e342ab144e1709827e4","src/solaris_illumos.rs":"d52fee9dd7d661f960c01894edd563c1ff8a512c111f7803092d9aa2ff98718e","src/solid.rs":"997035d54c9762d22a5a14f54e7fbed4dd266cdeacbdf6aab7d8aee05537e8ba","src/use_file.rs":"16e42eb0a56e375c330c1ca8eb58c444e82ef3ad35230b961fdba96a02a68804","src/util.rs":"da6964dc1523f1cb8d26365fa6a8ece46360587e6974931624b271f0c72cda8b","src/util_libc.rs":"2a63ac0e6dab16b85c4728b79a16e0640301e8b876f151b0a1db0b4394fa219f","src/vxworks.rs":"a5aa0e40f890e0f35626458bb656a3340b8af3111e4bacd2e12505a8d50a3505","src/wasi.rs":"dfdd0a870581948bd03abe64d49ca4295d9cfa26e09b97a526fd5e17148ad9ca","src/windows.rs":"d0b4f2afd1959660aa9abcd9477764bd7dc0b7d7048aee748804b37963c77c6f","tests/common/mod.rs":"b6beee8f535d2d094a65711fe0af91a6fc220aa09729ed7269fe33cafdc9177f","tests/custom.rs":"9f2c0193193f6bcf641116ca0b3653b33d2015e0e98ce107ee1d1f60c5eeae3a","tests/normal.rs":"9e1c4b1e468a09ed0225370dfb6608f8b8135e0fabb09bbc1a718105164aade6","tests/rdrand.rs":"4474ccebf9d33c89288862a7e367018405968dddc55c7c6f97e21b5fe2264601"},"package":"c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"}
|
||||
\ No newline at end of file
|
||||
+{"files":{"CHANGELOG.md":"cb054908f44d0e7f229dcc4580bcc4f2c3e2da198c84292710f730b33cc3d5f6","Cargo.toml":"708a5d9c89443b937aa50260e26a01f9ebfdd50a7ae312956795834e3187baf3","LICENSE-APACHE":"aaff376532ea30a0cd5330b9502ad4a4c8bf769c539c87ffe78819d188a18ebf","LICENSE-MIT":"209fbbe0ad52d9235e37badf9cadfe4dbdc87203179c0899e738b39ade42177b","README.md":"7ae74633326a22fd6298d7f209fb14884277bd98049795f444945acbb2b0dfbd","benches/mod.rs":"c01b05c6d690a4b8937d25252f1385a6bff378517318ce832ea520036aabd571","src/3ds.rs":"0f48fc15f89b518fb92e06aaa4838b62dc073598e8f288df56ad1e5a9251af1e","src/bsd_arandom.rs":"d90c419d4def20f83e7535cd3f5ec07035045011a50c3652951d196a120c5d3e","src/custom.rs":"ce4640776d36872dbbd5e194bf29f6bcda3ef4549ca04fe59f5aeab1dea1d821","src/dragonfly.rs":"47f933eac189f6ea48ecf021efd0747ebce1b43d1bece6bbf72a951bab705987","src/error.rs":"ff09a7e02d7aff3e45eca6bbef6c686cc46f3c2371a0897a856e4dec4b942e46","src/error_impls.rs":"9c34832ebb99cd5e31bc5c8ffc5beb5b3fa6f7ff0226aaa1cdf8e10e6d64b324","src/espidf.rs":"19f101486584fde6dad962f4d9792de168658047312106641a5caf6866a5bbcf","src/fuchsia.rs":"470d8509deb5b06fa6417f294c0a49e0e35a580249a5d8944c3be5aa746f64ea","src/ios.rs":"4bad4f5c096a50338b86aeac91a937c18bc55b9555e6f34806ad13732e64523d","src/js.rs":"370610a19045012c87c986279aad6b150cd728a44015dcc5779256e4a2e6629b","src/lib.rs":"8e5c2c8edcbdbf2cee46b86d96d951cc6d5c00f7c11cfc9c27de27e756b5c4cc","src/linux_android.rs":"ec24575aa4ae71b6991290dadfdea931b05397c3faababf24bd794f1a9624835","src/macos.rs":"6c09827ad5292cd022e063efa79523bfdb50ed08b9867ebaa007cd321b8d218e","src/openbsd.rs":"450a23ead462d4a840fee4aa0bfdab1e3d88c8f48e4bb608d457429ddeca69c0","src/rdrand.rs":"79d23183b1905d61bd9df9729dc798505a2ed750d3339e342ab144e1709827e4","src/solaris_illumos.rs":"d52fee9dd7d661f960c01894edd563c1ff8a512c111f7803092d9aa2ff98718e","src/solid.rs":"997035d54c9762d22a5a14f54e7fbed4dd266cdeacbdf6aab7d8aee05537e8ba","src/use_file.rs":"16e42eb0a56e375c330c1ca8eb58c444e82ef3ad35230b961fdba96a02a68804","src/util.rs":"da6964dc1523f1cb8d26365fa6a8ece46360587e6974931624b271f0c72cda8b","src/util_libc.rs":"a47b20e73637fed248405650f56358f3339e511b217b7ba80e32011d8ee2ca22","src/vxworks.rs":"a5aa0e40f890e0f35626458bb656a3340b8af3111e4bacd2e12505a8d50a3505","src/wasi.rs":"dfdd0a870581948bd03abe64d49ca4295d9cfa26e09b97a526fd5e17148ad9ca","src/windows.rs":"d0b4f2afd1959660aa9abcd9477764bd7dc0b7d7048aee748804b37963c77c6f","tests/common/mod.rs":"b6beee8f535d2d094a65711fe0af91a6fc220aa09729ed7269fe33cafdc9177f","tests/custom.rs":"9f2c0193193f6bcf641116ca0b3653b33d2015e0e98ce107ee1d1f60c5eeae3a","tests/normal.rs":"9e1c4b1e468a09ed0225370dfb6608f8b8135e0fabb09bbc1a718105164aade6","tests/rdrand.rs":"4474ccebf9d33c89288862a7e367018405968dddc55c7c6f97e21b5fe2264601"},"package":"c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"}
|
||||
\ No newline at end of file
|
||||
--- a/vendor/getrandom/src/util_libc.rs
|
||||
+++ b/vendor/getrandom/src/util_libc.rs
|
||||
Index: rustc-1.71.0-src/vendor/getrandom-0.2.8/src/util_libc.rs
|
||||
===================================================================
|
||||
--- rustc-1.71.0-src.orig/vendor/getrandom-0.2.8/src/util_libc.rs
|
||||
+++ rustc-1.71.0-src/vendor/getrandom-0.2.8/src/util_libc.rs
|
||||
@@ -135,19 +135,11 @@ impl Weak {
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -6,10 +6,11 @@ LIC_FILES_CHKSUM = "file://../../COPYRIGHT;md5=c2cccf560306876da3913d79062a54b9"
|
||||
|
||||
require rust-source.inc
|
||||
|
||||
# Building with library/std omits proc_macro from the sysroot. Using
|
||||
# library/test causes that to be installed which then allows cargo to
|
||||
# build (https://github.com/meta-rust/meta-rust/issues/266)
|
||||
S = "${RUSTSRC}/library/test"
|
||||
# The dummy crate named `sysroot` represents the standard library target.
|
||||
#
|
||||
# See fd4c81f4c19e ("Add a `sysroot` crate to represent the standard library crates")
|
||||
# https://github.com/rust-lang/rust/pull/108865/
|
||||
S = "${RUSTSRC}/library/sysroot"
|
||||
|
||||
RUSTLIB_DEP = ""
|
||||
inherit cargo
|
||||
@@ -4,51 +4,51 @@
|
||||
## The exact (previous) version that has been used is specified in the source tarball.
|
||||
## The version is replicated here.
|
||||
|
||||
SNAPSHOT_VERSION = "1.69.0"
|
||||
SNAPSHOT_VERSION = "1.70.0"
|
||||
|
||||
SRC_URI[cargo-snapshot-aarch64.sha256sum] = "b0ffb368d4e66a5808f96659cc598030761cb06966ae8d5299596b14fbc09364"
|
||||
SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "c3c5346b1e95ea9bd806b0dd9ff9aa618976fb38f4f3a615af4964bb4dd15633"
|
||||
SRC_URI[rustc-snapshot-aarch64.sha256sum] = "d14166fa0b2832dd87b3f35c08d0bc829f83aa01a539b45df3d923469ee119be"
|
||||
SRC_URI[cargo-snapshot-aarch64.sha256sum] = "8fd2d9806f0601feab1485f79e46d1441af2158c68abf56788ff355d5c6b4ab5"
|
||||
SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "966e85187b6b76dc520b23aadc886c5fe54b209a21c68f959ff00ef8542b7f9f"
|
||||
SRC_URI[rustc-snapshot-aarch64.sha256sum] = "71698cf444eef74050db821dc4df996c0f268615230099cde836e685e5b5465d"
|
||||
|
||||
SRC_URI[cargo-snapshot-i686.sha256sum] = "4c9b1b2fb692bb0c81e524df6368723f061c8bb0d21a1f487eb8e5c2bdf323ab"
|
||||
SRC_URI[rust-std-snapshot-i686.sha256sum] = "bef330af5bfb381a01349186e05402983495a3e2d4d1c35723a8443039d19a2d"
|
||||
SRC_URI[rustc-snapshot-i686.sha256sum] = "788ff61555857680d5ea7cf76023f74a7f4820dd1c26abf76536561d4de3cbe6"
|
||||
SRC_URI[cargo-snapshot-i686.sha256sum] = "5d20e9b8e56f641c3ef4aef965563806aa220044397485ec56f784657451a329"
|
||||
SRC_URI[rust-std-snapshot-i686.sha256sum] = "0e5543c35196ca5b08f1b7e49fa3f3b671444d75648504cdbcfd854e2e7efd2d"
|
||||
SRC_URI[rustc-snapshot-i686.sha256sum] = "f89c90f80864f68e42b70d9c14984195629ed9894bb5cfe6c8a0f1140f7816ff"
|
||||
|
||||
SRC_URI[cargo-snapshot-mips.sha256sum] = "bdaef2f95b0485dc2a5cde74c08bd269174bbbb553226c5b5d2287e52841b061"
|
||||
SRC_URI[rust-std-snapshot-mips.sha256sum] = "89849b93af9d4922554c938bc1c7641498d13c3a8b2b464f3bb7a060eae7a580"
|
||||
SRC_URI[rustc-snapshot-mips.sha256sum] = "ef17b364df355f7322c1fdd3b4cc4296d2d5d489b58fdd4b12374a1f2975a455"
|
||||
SRC_URI[cargo-snapshot-mips.sha256sum] = "a272a2a34f03a89e1bc89d9bb11ec0dee08428f43b5103785a587091b3911c60"
|
||||
SRC_URI[rust-std-snapshot-mips.sha256sum] = "0cd85a53e328b1c445a8ec13af87f74280c1d344744076b102227f626456caec"
|
||||
SRC_URI[rustc-snapshot-mips.sha256sum] = "c1f51717bcec5a9c799d57d8c80eff7760c11fc5af383700fb22c3508dd9450e"
|
||||
|
||||
SRC_URI[cargo-snapshot-mipsel.sha256sum] = "df114ac589fb50fcc3027e26c6e201fc530aadef1bcc8f6396c761a457ba7bbb"
|
||||
SRC_URI[rust-std-snapshot-mipsel.sha256sum] = "22bb266cf4e6da4d6867144873579b0da47e59c8ec9cb1a329ee8a7f418e8ee3"
|
||||
SRC_URI[rustc-snapshot-mipsel.sha256sum] = "9df4110f716a309323a776952fcf0dccaae878e7abf0d148c14a2a03c5170850"
|
||||
SRC_URI[cargo-snapshot-mipsel.sha256sum] = "25d2aaad531403359c60ed3035005db782ba041549fdb60d3ef1a5b5a04b2970"
|
||||
SRC_URI[rust-std-snapshot-mipsel.sha256sum] = "58bf8a6407d92cd4786991f1cbdec7380001e07c057c3a8946c2e54593bb7f8c"
|
||||
SRC_URI[rustc-snapshot-mipsel.sha256sum] = "0a6cf0eef9f1b67415ca5bbde1832cd3cd79560762251f3fb1b6f317ed5109bd"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc.sha256sum] = "26c774db5e21ddf66107b677d5c6612d50611186feaa68ff11c34a61e4d5a57e"
|
||||
SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "6303fc2be557467af0f1ff9cc756fd14ae2b9db7f17f42a1d2238ed934351e56"
|
||||
SRC_URI[rustc-snapshot-powerpc.sha256sum] = "716e790b7658206c59dc8019c1b603f230c5ce945229463367fade862cea60b9"
|
||||
SRC_URI[cargo-snapshot-powerpc.sha256sum] = "314ed27bbf7eed16f6ac0092b076a82782630c65927a241db921d1eff8b04759"
|
||||
SRC_URI[rust-std-snapshot-powerpc.sha256sum] = "101f358b08381b9c37c2f061bac1ff3e60c6036be20059c451f322a55f72376b"
|
||||
SRC_URI[rustc-snapshot-powerpc.sha256sum] = "4e4fe3a8b2c0ea1f82e99a30c193b848464b7ac1ed802fddc100c11814a7b2ba"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "160692a0fc5fe1b48b617e063c6ce1d4546e108b32c0049dbde95602a30af133"
|
||||
SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "6a4b8b5307141c8207ed67d4fbaf9345c42fb3662e389b9dd3d9a4086c1b6efe"
|
||||
SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "313d0944a1fc41c1c5ce0a054b3cebccd6f471ce8e8272e5e68f36b8d08e5bb1"
|
||||
SRC_URI[cargo-snapshot-powerpc64.sha256sum] = "ccb5b4c03f4d359cbeb1739ba27b725b0fc9d0d55b22837b0d3904e778a7fdc9"
|
||||
SRC_URI[rust-std-snapshot-powerpc64.sha256sum] = "468672f84e5b140269e188b836ec82494d65c18bda8b7cf1f9bf6fce19f222ab"
|
||||
SRC_URI[rustc-snapshot-powerpc64.sha256sum] = "7891593a85ba231ca91505720a3535e9cff22700ee1f3e122bc33a5f10ddf705"
|
||||
|
||||
SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "9a3fe155d763b382ea18753133cb0e2186993e2850568134e2f7e468f2d07197"
|
||||
SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "c44bcf91a9d13412a59ba75e7f8bd14c7f60d44cdb7b21916e502c90b4b378ce"
|
||||
SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "1781b5be30fa4fadf7608cc9cd3a2de93b3671a09adfa98ae4d975f789ba2275"
|
||||
SRC_URI[cargo-snapshot-powerpc64le.sha256sum] = "5f1751ab8d44a9c9e083d32a8039980d699a1224654e3f5aa0dfffbc4407f1c0"
|
||||
SRC_URI[rust-std-snapshot-powerpc64le.sha256sum] = "bbd882f9ec7f01a732ecc60cf50b7d8a10cd52c3de41c205f62938b6dc2b4dbc"
|
||||
SRC_URI[rustc-snapshot-powerpc64le.sha256sum] = "7152b111cf91a2cfa1e7beb51d3c737561095ebdf75ec7e032ab1118639ea4ca"
|
||||
|
||||
SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "9bc29f493c353313b968243fbdf5147c9ca401f7f8205aed63f180b5757161e2"
|
||||
SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "8c32a848e2688b2900c3e073da8814ce5649ce6e0362be30d53517d7a9ef21ff"
|
||||
SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "03606f1ad3fd196e73e0d255ab6342e4e8fef2edaa1afcc577411aa8a68f0133"
|
||||
SRC_URI[cargo-snapshot-riscv64gc.sha256sum] = "55c3a5c06b14c954df5318073c38a5b4b0ace3f9a32a24f0ef5514941f7c9502"
|
||||
SRC_URI[rust-std-snapshot-riscv64gc.sha256sum] = "cdecf32e245898306a27a0b164451b2ee9a2122176ce3a65f2ec73c200986dc3"
|
||||
SRC_URI[rustc-snapshot-riscv64gc.sha256sum] = "7fa4de4b7f8ab8b23a0f2ef3dc4886658d3bf90a97f6b215146b75b445a6131b"
|
||||
|
||||
SRC_URI[cargo-snapshot-s390x.sha256sum] = "812907846a454a182b05eab76658b49eabd8d06d2b5e8df56f29d73971f91b03"
|
||||
SRC_URI[rust-std-snapshot-s390x.sha256sum] = "5c98653199b89bff6f368bed61fca7860f7179364ce9e9474c90af38e2629baf"
|
||||
SRC_URI[rustc-snapshot-s390x.sha256sum] = "3cef208c0761bc83d156a14a5a94821cc9421772f0f376ea54765a6d00842b21"
|
||||
SRC_URI[cargo-snapshot-s390x.sha256sum] = "dc4104e9e4b82dff14ffb20233d412ff57cea27e7bb2064b6a7e660fee6d2c4d"
|
||||
SRC_URI[rust-std-snapshot-s390x.sha256sum] = "7084afbe9fb1a0e8a0c3e760f45475ebba400b72030ae8359bdccef67cb48992"
|
||||
SRC_URI[rustc-snapshot-s390x.sha256sum] = "2c8421d95d575d33545b969ed5d200bbcbc69a2ae80d0ffeba4c516fc8a91356"
|
||||
|
||||
SRC_URI[cargo-snapshot-x86_64.sha256sum] = "336eeabf231a7665c26c127a37b8aefffe28cb087c5c8d4ba0460419f5f8eff2"
|
||||
SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "4c95739e6f0f1d4defd937f6d60360b566e051dfb2fa71879d0f9751392f3709"
|
||||
SRC_URI[rustc-snapshot-x86_64.sha256sum] = "70e97ab5b9600328b977268fc92ca4aa53064e4e97468df35215d4396e509279"
|
||||
SRC_URI[cargo-snapshot-x86_64.sha256sum] = "650e7a890a52869cd14e2305652bff775aec7fc2cf47fc62cf4a89ff07242333"
|
||||
SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "0c0129717da1e27ccf2c56da950d2fe56973f71beec9e80ae6904b282d2f0ee9"
|
||||
SRC_URI[rustc-snapshot-x86_64.sha256sum] = "7d891d3e9bc4f1151545c83cbe3bc6af9ed234388c45ca2e19641262f48615e2"
|
||||
|
||||
SRC_URI[rust-std-snapshot-i586.sha256sum] = "a8125d72e06f2d866472a7aca3bd20a247160171d23a75c4207761a05e00ed5b"
|
||||
SRC_URI[rust-std-snapshot-i586.sha256sum] = "f52e3ac35157e90f86e5ca6c177a43774425c24a51b15655ed61f6209c7db6f0"
|
||||
|
||||
SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "7d50ff8499d8925ea973aa659e1a88190547615b3cfecb79e776ef8de953b755"
|
||||
SRC_URI[rust-std-snapshot-sparc64.sha256sum] = "b06933f6f94cd30e1c2415b37db97a94533a727aa5d32a34ee80c6742ee418d2"
|
||||
|
||||
SRC_URI += " \
|
||||
${RUST_DIST_SERVER}/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${RUST_BUILD_ARCH};subdir=rust-snapshot-components \
|
||||
|
||||
@@ -6,9 +6,8 @@ SRC_URI += "https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.xz;n
|
||||
file://0001-Do-not-use-LFS64-on-linux-with-musl.patch;patchdir=${RUSTSRC} \
|
||||
file://zlib-off64_t.patch;patchdir=${RUSTSRC} \
|
||||
file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${RUSTSRC} \
|
||||
file://bootstrap_fail.patch;patchdir=${RUSTSRC} \
|
||||
"
|
||||
SRC_URI[rust.sha256sum] = "bb8e9c564566b2d3228d95de9063a9254182446a161353f1d843bfbaf5c34639"
|
||||
SRC_URI[rust.sha256sum] = "5814699031aafdcc2e2f71fc9b389678cd7042350d1583da061463d8e88681c7"
|
||||
|
||||
RUSTSRC = "${WORKDIR}/rustc-${RUST_VERSION}-src"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user