Skip to content

Commit 8ae5ca9

Browse files
committed
Don't create .msi installer when not building from Windows
1 parent fc79bc9 commit 8ae5ca9

File tree

1 file changed

+1
-1
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+1
-1
lines changed

src/bootstrap/src/core/build_steps/dist.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ impl Step for Extended {
16801680
cmd.run(builder);
16811681
}
16821682

1683-
if target.is_windows() {
1683+
if target.is_windows() && self.host.is_windows() {
16841684
let exe = tmp.join("exe");
16851685
let _ = fs::remove_dir_all(&exe);
16861686

0 commit comments

Comments
 (0)