rustbuild: build cargo and rls as part of extended build
Build them directly in the `./x.py build` phase, don't wait for `./x.py dist` Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This commit is contained in:
parent
54ef80043a
commit
f5929037cc
@ -575,6 +575,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
|
||||
.dep(|s| s.name("libstd-tool"))
|
||||
.run(move |s| compile::tool(build, s.stage, s.target, "qemu-test-client"));
|
||||
rules.build("tool-cargo", "cargo")
|
||||
.default(build.config.extended)
|
||||
.dep(|s| s.name("maybe-clean-tools"))
|
||||
.dep(|s| s.name("libstd-tool"))
|
||||
.dep(|s| s.stage(0).host(s.target).name("openssl"))
|
||||
@ -588,6 +589,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
|
||||
.run(move |s| compile::tool(build, s.stage, s.target, "cargo"));
|
||||
rules.build("tool-rls", "rls")
|
||||
.host(true)
|
||||
.default(build.config.extended)
|
||||
.dep(|s| s.name("librustc-tool"))
|
||||
.dep(|s| s.stage(0).host(s.target).name("openssl"))
|
||||
.dep(move |s| {
|
||||
|
Loading…
Reference in New Issue
Block a user