Skip to content

Commit 2ef3d17

Browse files
committed
Copy bootstrap.exe on Windows, not bootstrap
1 parent 790d9d4 commit 2ef3d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/bootstrap/dist.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,7 @@ impl Step for Bootstrap {
20782078

20792079
let bootstrap_outdir = &builder.bootstrap_out;
20802080
for file in &["bootstrap", "llvm-config-wrapper", "rustc", "rustdoc", "sccache-plus-cl"] {
2081-
tarball.add_file(bootstrap_outdir.join(file), "bootstrap/bin", 0o755);
2081+
tarball.add_file(bootstrap_outdir.join(exe(file, target)), "bootstrap/bin", 0o755);
20822082
}
20832083

20842084
Some(tarball.generate())

0 commit comments

Comments
 (0)