about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-15 10:05:41 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-15 10:05:41 -0800
commit67ae4ab5c22e58c74ad89467cfa16d6d1e4af3ed (patch)
tree4786140e6d87fd247cb97b73a6a2bace8a770026
parent833b03ad52f1d5381d65ad866ab79cb9a68b0e7f (diff)
downloadrust-67ae4ab5c22e58c74ad89467cfa16d6d1e4af3ed.tar.gz
rust-67ae4ab5c22e58c74ad89467cfa16d6d1e4af3ed.zip
rustbuild: Package rust-mingw by default
This fixes the `make dist` step on MinGW to package the `rust-mingw` component
by default. This should hopefully be the last step in fixing nightlies.
-rw-r--r--src/bootstrap/step.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bootstrap/step.rs b/src/bootstrap/step.rs
index 631e5fa1afd..f44083370f4 100644
--- a/src/bootstrap/step.rs
+++ b/src/bootstrap/step.rs
@@ -490,7 +490,12 @@ pub fn build_rules(build: &Build) -> Rules {
          .default(true)
          .run(move |s| dist::std(build, &s.compiler(), s.target));
     rules.dist("dist-mingw", "path/to/nowhere")
-         .run(move |s| dist::mingw(build, s.target));
+         .default(true)
+         .run(move |s| {
+             if s.target.contains("pc-windows-gnu") {
+                 dist::mingw(build, s.target)
+             }
+         });
     rules.dist("dist-src", "src")
          .default(true)
          .host(true)