summaryrefslogtreecommitdiffstats
path: root/source/d/rust/hack.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2019-11-19 06:15:35 +0000
committer Eric Hameleers <alien@slackware.com>2019-11-19 17:59:50 +0100
commit7ee27456e2684ea8fc924497c44049dd1ad15925 (patch)
tree5db715363fb47527d22cceea2e75ce33cedc3924 /source/d/rust/hack.diff
parentfa3f92ac782f8531079bf9584fe6714fc3d7c5ed (diff)
downloadcurrent-7ee27456e2684ea8fc924497c44049dd1ad15925.tar.gz
current-7ee27456e2684ea8fc924497c44049dd1ad15925.tar.xz
Tue Nov 19 06:15:35 UTC 201920191119061535
d/rust-1.39.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/d/rust/hack.diff')
-rw-r--r--source/d/rust/hack.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/source/d/rust/hack.diff b/source/d/rust/hack.diff
new file mode 100644
index 000000000..c5031fb01
--- /dev/null
+++ b/source/d/rust/hack.diff
@@ -0,0 +1,29 @@
+--- ./src/bootstrap/dist.rs.orig 2019-11-07 18:12:33.835944390 -0600
++++ ./src/bootstrap/dist.rs 2019-11-07 22:05:17.991788876 -0600
+@@ -676,7 +676,6 @@
+ }
+
+ builder.ensure(compile::Std { compiler, target });
+- builder.ensure(compile::Rustc { compiler, target });
+
+ let image = tmpdir(builder).join(format!("{}-{}-image", name, target));
+ let _ = fs::remove_dir_all(&image);
+@@ -691,12 +690,12 @@
+ builder.copy(&path, &dst.join(path.file_name().unwrap()));
+ }
+ }
+- 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()));
+- }
+- }
++ // 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()));
++ // }
++ // }
+
+ let mut cmd = rust_installer(builder);
+ cmd.arg("generate")