about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jnelson@cloudflare.com>2022-09-24 13:32:19 -0500
committerJoshua Nelson <jnelson@cloudflare.com>2022-09-24 13:32:19 -0500
commit2ef3d172c4c574bd58abca0e8bbe7548c313c60b (patch)
tree9d778836a099dc1cb3443746fc1ab16ad6cdb21e
parent790d9d4dd0d13e254631c17b045a7c6a9587a2ca (diff)
downloadrust-2ef3d172c4c574bd58abca0e8bbe7548c313c60b.tar.gz
rust-2ef3d172c4c574bd58abca0e8bbe7548c313c60b.zip
Copy `bootstrap.exe` on Windows, not `bootstrap`
-rw-r--r--src/bootstrap/dist.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 3d03a056c15..e02031d09bc 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -2078,7 +2078,7 @@ impl Step for Bootstrap {
 
         let bootstrap_outdir = &builder.bootstrap_out;
         for file in &["bootstrap", "llvm-config-wrapper", "rustc", "rustdoc", "sccache-plus-cl"] {
-            tarball.add_file(bootstrap_outdir.join(file), "bootstrap/bin", 0o755);
+            tarball.add_file(bootstrap_outdir.join(exe(file, target)), "bootstrap/bin", 0o755);
         }
 
         Some(tarball.generate())