From 67ae4ab5c22e58c74ad89467cfa16d6d1e4af3ed Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 15 Dec 2016 10:05:41 -0800 Subject: [PATCH] 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. --- src/bootstrap/step.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)