summaryrefslogtreecommitdiffstats
path: root/testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-11-08 23:23:40 +0000
committer Eric Hameleers <alien@slackware.com>2019-11-09 08:59:48 +0100
commitcdea680437e2afe627210ed696c16969e268ad84 (patch)
tree925c34b0ee53864332b22eba4d648c400d14f0a9 /testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch
parente75021b101c4934014cd6f0b0e1944d0ace8ed83 (diff)
downloadcurrent-cdea680437e2afe627210ed696c16969e268ad84.tar.gz
current-cdea680437e2afe627210ed696c16969e268ad84.tar.xz
Fri Nov 8 23:23:40 UTC 201920191108232340
a/hostname-3.23-x86_64-1.txz: Upgraded. a/kernel-firmware-20191108_f1100dd-noarch-1.txz: Upgraded. ap/mariadb-10.4.10-x86_64-1.txz: Upgraded. kde/kdelibs-4.14.38-x86_64-5.txz: Rebuilt. Remove hardcoded TLSv1 allowing TLSv1.1 and TLSv1.2. Thanks to PJ Beers. kde/kdepim-4.14.10-x86_64-5.txz: Rebuilt. Remove hardcoded TLSv1 allowing TLSv1.1 and TLSv1.2. Thanks to PJ Beers. kde/kdepimlibs-4.14.10-x86_64-9.txz: Rebuilt. Remove hardcoded TLSv1 allowing TLSv1.1 and TLSv1.2. Thanks to PJ Beers. l/adwaita-icon-theme-3.34.3-noarch-1.txz: Upgraded. testing/packages/rust-1.39.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch')
-rw-r--r--testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch31
1 files changed, 6 insertions, 25 deletions
diff --git a/testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch b/testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch
index 04be717a3..e46a7265c 100644
--- a/testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch
+++ b/testing/source/rust/0001-WIP-minimize-the-rust-std-component.patch
@@ -1,17 +1,6 @@
-From 2bf05f208272cd58c57f4d7d8d0e10fdb22e8719 Mon Sep 17 00:00:00 2001
-From: Josh Stone <jistone@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(-)
-
-diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
-index 552965863d10..76fbd07f9fb5 100644
---- a/src/bootstrap/dist.rs
-+++ b/src/bootstrap/dist.rs
-@@ -667,41 +667,28 @@ impl Step for Std {
+--- ./src/bootstrap/dist.rs.orig 2019-11-07 16:25:16.099477103 -0600
++++ ./src/bootstrap/dist.rs 2019-11-07 16:31:36.510445625 -0600
+@@ -675,36 +675,28 @@
return distdir(builder).join(format!("{}-{}.tar.gz", name, target));
}
@@ -21,15 +10,10 @@ index 552965863d10..76fbd07f9fb5 100644
- 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 });
++ builder.ensure(compile::Rustc { compiler, target });
let image = tmpdir(builder).join(format!("{}-{}-image", name, target));
let _ = fs::remove_dir_all(&image);
@@ -60,7 +44,7 @@ index 552965863d10..76fbd07f9fb5 100644
- true
- });
+ }
-+ let stamp = dbg!(compile::libtest_stamp(builder, compiler_to_use, target));
++ let stamp = dbg!(compile::librustc_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()));
@@ -69,6 +53,3 @@ index 552965863d10..76fbd07f9fb5 100644
let mut cmd = rust_installer(builder);
cmd.arg("generate")
---
-2.21.0
-