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.
.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)