Rollup merge of #45588 - Keruspe:master, r=alexcrichton
rustbuild: don't try to install rls if ToolState is not Testing We already do that for the Dist Step so we would end up trying to install something that we didn't dist.
This commit is contained in:
commit
843dc4bd76
@ -186,8 +186,11 @@ install!((self, builder, _config),
|
|||||||
install_cargo(builder, self.stage, self.target);
|
install_cargo(builder, self.stage, self.target);
|
||||||
};
|
};
|
||||||
Rls, "rls", _config.extended, only_hosts: true, {
|
Rls, "rls", _config.extended, only_hosts: true, {
|
||||||
builder.ensure(dist::Rls { stage: self.stage, target: self.target });
|
if builder.ensure(dist::Rls { stage: self.stage, target: self.target }).is_some() {
|
||||||
install_rls(builder, self.stage, self.target);
|
install_rls(builder, self.stage, self.target);
|
||||||
|
} else {
|
||||||
|
println!("skipping Install RLS stage{} ({})", self.stage, self.target);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
Analysis, "analysis", _config.extended, only_hosts: false, {
|
Analysis, "analysis", _config.extended, only_hosts: false, {
|
||||||
builder.ensure(dist::Analysis {
|
builder.ensure(dist::Analysis {
|
||||||
|
Loading…
Reference in New Issue
Block a user