mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 11:43:39 -04:00
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.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user