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.
This commit is contained in:
parent
833b03ad52
commit
67ae4ab5c2
1 changed files with 6 additions and 1 deletions
|
@ -490,7 +490,12 @@ pub fn build_rules(build: &Build) -> Rules {
|
||||||
.default(true)
|
.default(true)
|
||||||
.run(move |s| dist::std(build, &s.compiler(), s.target));
|
.run(move |s| dist::std(build, &s.compiler(), s.target));
|
||||||
rules.dist("dist-mingw", "path/to/nowhere")
|
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")
|
rules.dist("dist-src", "src")
|
||||||
.default(true)
|
.default(true)
|
||||||
.host(true)
|
.host(true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue