We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 833b03a commit 67ae4abCopy full SHA for 67ae4ab
src/bootstrap/step.rs
@@ -490,7 +490,12 @@ pub fn build_rules(build: &Build) -> Rules {
490
.default(true)
491
.run(move |s| dist::std(build, &s.compiler(), s.target));
492
rules.dist("dist-mingw", "path/to/nowhere")
493
- .run(move |s| dist::mingw(build, s.target));
+ .default(true)
494
+ .run(move |s| {
495
+ if s.target.contains("pc-windows-gnu") {
496
+ dist::mingw(build, s.target)
497
+ }
498
+ });
499
rules.dist("dist-src", "src")
500
501
.host(true)
0 commit comments