1
0
Fork 0
mirror of git://slackware.nl/current.git synced 2025-02-05 20:46:11 +01:00
slackware-current/source/d/rust/hack.diff
Patrick J Volkerding 7ee27456e2 Tue Nov 19 06:15:35 UTC 2019
d/rust-1.39.0-x86_64-1.txz:  Upgraded.
2019-11-19 17:59:50 +01:00

29 lines
1.2 KiB
Diff

--- ./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")