Skip to content

Commit

Permalink
Copy bootstrap.exe on Windows, not bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Sep 24, 2022
1 parent 790d9d4 commit 2ef3d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/dist.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 2ef3d17

Please sign in to comment.