Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9f22e83

Browse files
committedMay 31, 2025·
Don't create .msi installer when not building from Windows
WIX toolset works only on Windows hosts.
1 parent e0d014a commit 9f22e83

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
@@ -1681,7 +1681,7 @@ impl Step for Extended {
16811681
cmd.run(builder);
16821682
}
16831683

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

0 commit comments

Comments
 (0)
Please sign in to comment.