From 862038427cdd2f00959533cccfb7900ee289241c Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Fri, 8 Apr 2022 12:53:46 +0000 Subject: [PATCH] extra/rust to 1.60.0-1 --- extra/rust/0001-bootstrap-Change-libexec-dir.patch | 4 ++-- extra/rust/0002-compiler-Change-LLVM-targets.patch | 12 ++++++------ extra/rust/PKGBUILD | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/extra/rust/0001-bootstrap-Change-libexec-dir.patch b/extra/rust/0001-bootstrap-Change-libexec-dir.patch index 865bf85b3..f83590630 100644 --- a/extra/rust/0001-bootstrap-Change-libexec-dir.patch +++ b/extra/rust/0001-bootstrap-Change-libexec-dir.patch @@ -8,10 +8,10 @@ Subject: [PATCH] bootstrap: Change libexec dir 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs -index 7d9b3da48ecb..3fa3d3bca373 100644 +index f5ae8103cb05..a41a80a6c359 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs -@@ -998,7 +998,7 @@ fn run(self, builder: &Builder<'_>) -> Option { +@@ -981,7 +981,7 @@ fn run(self, builder: &Builder<'_>) -> Option { for dirent in fs::read_dir(cargo.parent().unwrap()).expect("read_dir") { let dirent = dirent.expect("read dir entry"); if dirent.file_name().to_str().expect("utf8").starts_with("cargo-credential-") { diff --git a/extra/rust/0002-compiler-Change-LLVM-targets.patch b/extra/rust/0002-compiler-Change-LLVM-targets.patch index 70de7aff4..4215abfce 100644 --- a/extra/rust/0002-compiler-Change-LLVM-targets.patch +++ b/extra/rust/0002-compiler-Change-LLVM-targets.patch @@ -24,10 +24,10 @@ targets, as things break when this is done: 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs -index 08bcea26ebe1..566f1ebbbc6a 100644 +index 7a0d9a212c9d..a53bd70b224a 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs -@@ -1612,7 +1612,7 @@ pub fn parse_target_triple( +@@ -1741,7 +1741,7 @@ pub fn parse_target_triple( early_error(error_format, &format!("target file {:?} does not exist", path)) }) } @@ -50,10 +50,10 @@ index 165505ee7313..00a7f5c2f8c1 100644 data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\ f64:32:64-f80:32-n8:16:32-S128" diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs -index ca1949b9f75a..05d57c421843 100644 +index 92678aed5b1a..52714d175dcc 100644 --- a/compiler/rustc_target/src/spec/mod.rs +++ b/compiler/rustc_target/src/spec/mod.rs -@@ -2380,6 +2380,15 @@ pub fn from_path(path: &Path) -> Result { +@@ -2392,6 +2392,15 @@ pub fn from_path(path: &Path) -> Result { Ok(TargetTriple::TargetPath(canonicalized_path)) } @@ -70,10 +70,10 @@ index ca1949b9f75a..05d57c421843 100644 /// /// If this target is a path, the file name (without extension) is returned. diff --git a/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs -index c2484f2d8f66..bfda13509939 100644 +index aefbb398286a..6d902647eeea 100644 --- a/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs +++ b/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs -@@ -14,7 +14,7 @@ pub fn target() -> Target { +@@ -15,7 +15,7 @@ pub fn target() -> Target { | SanitizerSet::THREAD; Target { diff --git a/extra/rust/PKGBUILD b/extra/rust/PKGBUILD index 579304f9c..29beafb61 100644 --- a/extra/rust/PKGBUILD +++ b/extra/rust/PKGBUILD @@ -16,7 +16,7 @@ highmem=1 pkgbase=rust pkgname=(rust rust-src) epoch=1 -pkgver=1.59.0 +pkgver=1.60.0 pkgrel=1 pkgdesc="Systems programming language focused on safety, speed and concurrency" url=https://www.rust-lang.org/ @@ -36,13 +36,13 @@ source=( 0002-compiler-Change-LLVM-targets.patch 0003-compiler-Use-wasm-ld-for-wasm-targets.patch ) -sha256sums=('a7c8eeaee85bfcef84c96b02b3171d1e6540d15179ff83dddd9eafba185f85f9' +sha256sums=('20ca826d1cf674daf8e22c4f8c4b9743af07973211c839b85839742314c838b7' 'SKIP' '7b33955031f9a9c5d63077dedb0f99d77e4e7c996266952c1cec55626dca5dfc' 'SKIP' '0f8cfbe0387dd62909fe9cb9523223ae1c2319494e2caf5fa4d0592198631b3e' - 'd97e87bfc21094efd5c8a9767f562ed8cdb355df9cd344826786eba5a2739dcb' - '93eeb6de7c455f8eb1e33d5c24784b37b5c1faafde47134106a8837e42004338' + '7a69e38716957ff074c5f932a82bbea1d9a3713a3f39d9085977cdc8df336c43' + '2ef851be0562d13431c5c81df0161f92984e79845fe986182225f2dae58a9452' 'f8ea25693ba42c7e185aa8677218783fe0cd60a3370926cb6996ec898b43d691') validpgpkeys=(108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE # Rust Language (Tag and Release Signing Key) 474E22316ABF4785A88C6E8EA2C794A986419D8A # Tom Stellard