about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMateusz Mikuła <oss@mateuszmikula.dev>2025-05-06 18:40:18 +0200
committerMateusz Mikuła <oss@mateuszmikula.dev>2025-06-09 23:54:04 +0200
commit4f0b60aa7146297e2f73f48449ffe7e4f74e679a (patch)
treecb685aa54503cf2078a2038df0b4975357913a2d
parent00b526212bbdd68872d6f964fcc9a14a66c36fd8 (diff)
downloadrust-4f0b60aa7146297e2f73f48449ffe7e4f74e679a.tar.gz
rust-4f0b60aa7146297e2f73f48449ffe7e4f74e679a.zip
Don't create .msi installer for gnullvm hosts
WIX toolset works only on Windows hosts and we need to boostrap this
host.
-rw-r--r--src/bootstrap/src/core/build_steps/dist.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/src/core/build_steps/dist.rs b/src/bootstrap/src/core/build_steps/dist.rs
index 587fca80374..7aa9e6cc2b5 100644
--- a/src/bootstrap/src/core/build_steps/dist.rs
+++ b/src/bootstrap/src/core/build_steps/dist.rs
@@ -1681,7 +1681,8 @@ impl Step for Extended {
             cmd.run(builder);
         }
 
-        if target.is_windows() {
+        // FIXME(mati865): `gnullvm` here is temporary, remove it once it can host itself
+        if target.is_windows() && !target.contains("gnullvm") {
             let exe = tmp.join("exe");
             let _ = fs::remove_dir_all(&exe);