Skip to content

Commit 8f02c42

Browse files
committed
Auto merge of #38394 - alexcrichton:fix-nightlies, r=brson
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.
2 parents f70ad0a + 67ae4ab commit 8f02c42

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/bootstrap/step.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,12 @@ pub fn build_rules(build: &Build) -> Rules {
490490
.default(true)
491491
.run(move |s| dist::std(build, &s.compiler(), s.target));
492492
rules.dist("dist-mingw", "path/to/nowhere")
493-
.run(move |s| dist::mingw(build, s.target));
493+
.default(true)
494+
.run(move |s| {
495+
if s.target.contains("pc-windows-gnu") {
496+
dist::mingw(build, s.target)
497+
}
498+
});
494499
rules.dist("dist-src", "src")
495500
.default(true)
496501
.host(true)

0 commit comments

Comments
 (0)