[arch-commits] Commit in rust/trunk (3 files)
Jan Steffens
heftig at archlinux.org
Thu Nov 7 17:31:20 UTC 2019
Date: Thursday, November 7, 2019 @ 17:31:20
Author: heftig
Revision: 367138
1.39.0-1
Modified:
rust/trunk/0001-WIP-minimize-the-rust-std-component.patch
rust/trunk/PKGBUILD
Deleted:
rust/trunk/bootstrap-1.38.patch
------------------------------------------------+
0001-WIP-minimize-the-rust-std-component.patch | 26 ++++++-----------------
PKGBUILD | 13 +++--------
bootstrap-1.38.patch | 13 -----------
3 files changed, 11 insertions(+), 41 deletions(-)
Modified: 0001-WIP-minimize-the-rust-std-component.patch
===================================================================
--- 0001-WIP-minimize-the-rust-std-component.patch 2019-11-07 16:51:50 UTC (rev 367137)
+++ 0001-WIP-minimize-the-rust-std-component.patch 2019-11-07 17:31:20 UTC (rev 367138)
@@ -1,17 +1,17 @@
-From 2bf05f208272cd58c57f4d7d8d0e10fdb22e8719 Mon Sep 17 00:00:00 2001
+From 14948e9d7bdb5cc7e975c1f3435692eeb748f07b Mon Sep 17 00:00:00 2001
From: Josh Stone <jistone at redhat.com>
Date: Fri, 27 Sep 2019 12:33:08 -0700
Subject: [PATCH] [WIP] minimize the rust-std component
---
- src/bootstrap/dist.rs | 45 +++++++++++++++----------------------------
- 1 file changed, 16 insertions(+), 29 deletions(-)
+ src/bootstrap/dist.rs | 33 +++++++++------------------------
+ 1 file changed, 9 insertions(+), 24 deletions(-)
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
-index 552965863d10..76fbd07f9fb5 100644
+index d9dff77a30e..bd96a6371fc 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
-@@ -667,41 +667,28 @@ impl Step for Std {
+@@ -675,36 +675,21 @@ impl Step for Std {
return distdir(builder).join(format!("{}-{}.tar.gz", name, target));
}
@@ -21,15 +21,9 @@
- if builder.hosts.iter().any(|t| t == target) {
- builder.ensure(compile::Rustc { compiler, target });
- } else {
-- if builder.no_std(target) == Some(true) {
-- // the `test` doesn't compile for no-std targets
-- builder.ensure(compile::Std { compiler, target });
-- } else {
-- builder.ensure(compile::Test { compiler, target });
-- }
+- builder.ensure(compile::Std { compiler, target });
- }
+ builder.ensure(compile::Std { compiler, target });
-+ builder.ensure(compile::Test { compiler, target });
let image = tmpdir(builder).join(format!("{}-{}-image", name, target));
let _ = fs::remove_dir_all(&image);
@@ -60,15 +54,9 @@
- true
- });
+ }
-+ let stamp = dbg!(compile::libtest_stamp(builder, compiler_to_use, target));
-+ for (path, host) in builder.read_stamp_file(&stamp) {
-+ if !host {
-+ builder.copy(&path, &dst.join(path.file_name().unwrap()));
-+ }
-+ }
let mut cmd = rust_installer(builder);
cmd.arg("generate")
--
-2.21.0
+2.24.0
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-07 16:51:50 UTC (rev 367137)
+++ PKGBUILD 2019-11-07 17:31:20 UTC (rev 367138)
@@ -5,8 +5,8 @@
pkgname=('rust' 'lib32-rust-libs' 'rust-docs')
epoch=1
-pkgver=1.38.0
-pkgrel=2
+pkgver=1.39.0
+pkgrel=1
_llvm_ver=9.0.0
@@ -22,15 +22,13 @@
source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
"http://releases.llvm.org/$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig}
- bootstrap-1.38.patch
0001-WIP-minimize-the-rust-std-component.patch)
-sha256sums=('644263ca7c7106f8ee8fcde6bb16910d246b30668a74be20b8c7e0e9f4a52d80'
+sha256sums=('b4a1f6b6a93931f270691aba4fc85eee032fecda973e6b9c774cd06857609357'
'SKIP'
'56e4cd96dd1d8c346b07b4d6b255f976570c6f2389697347a6c3dcb9e820d10e'
'SKIP'
- '71935e8994d1045680cde22f72a12c4959e1877e5a42fc21fd034d677100dab3'
- '1d6b69444ef6ff033fe1612e56ecdaad5c52aa44395e704f78b1a047c65b9321')
+ '9e64e6abe9b118ee496c317ef37f4b500b54ecd69e9c02cad2a6a0b7235e9afd')
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key at rust-lang.org>
'474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar at redhat.com>
'B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans at chromium.org>
@@ -38,9 +36,6 @@
prepare() {
cd "rustc-$pkgver-src"
- # Fix bootstrap to compile with 1.38
- patch -Np1 -i ../bootstrap-1.38.patch
-
# For https://bugzilla.redhat.com/show_bug.cgi?id=1756487
# From https://src.fedoraproject.org/rpms/rust/tree/master
patch -Np1 -i ../0001-WIP-minimize-the-rust-std-component.patch
Deleted: bootstrap-1.38.patch
===================================================================
--- bootstrap-1.38.patch 2019-11-07 16:51:50 UTC (rev 367137)
+++ bootstrap-1.38.patch 2019-11-07 17:31:20 UTC (rev 367138)
@@ -1,13 +0,0 @@
-diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
-index e54c9360baec..9e4cd5ebca74 100644
---- a/src/bootstrap/builder.rs
-+++ b/src/bootstrap/builder.rs
-@@ -145,7 +145,7 @@ impl StepDescription {
- only_hosts: S::ONLY_HOSTS,
- should_run: S::should_run,
- make_run: S::make_run,
-- name: unsafe { ::std::intrinsics::type_name::<S>() },
-+ name: std::any::type_name::<S>(),
- }
- }
-
More information about the arch-commits
mailing list