install!((self, builder, _config),
Docs, "src/doc", _config.docs, only_hosts: false, {
- let tarball = builder.ensure(dist::Docs { host: self.target });
+ let tarball = builder.ensure(dist::Docs { host: self.target }).expect("missing docs");
install_sh(builder, "docs", self.compiler.stage, Some(self.target), &tarball);
};
Std, "library/std", true, only_hosts: false, {
}
};
Cargo, "cargo", Self::should_build(_config), only_hosts: true, {
- let tarball = builder.ensure(dist::Cargo { compiler: self.compiler, target: self.target });
+ let tarball = builder
+ .ensure(dist::Cargo { compiler: self.compiler, target: self.target })
+ .expect("missing cargo");
install_sh(builder, "cargo", self.compiler.stage, Some(self.target), &tarball);
};
Rls, "rls", Self::should_build(_config), only_hosts: true, {
}
};
Clippy, "clippy", Self::should_build(_config), only_hosts: true, {
- let tarball = builder.ensure(dist::Clippy { compiler: self.compiler, target: self.target });
+ let tarball = builder
+ .ensure(dist::Clippy { compiler: self.compiler, target: self.target })
+ .expect("missing clippy");
install_sh(builder, "clippy", self.compiler.stage, Some(self.target), &tarball);
};
Miri, "miri", Self::should_build(_config), only_hosts: true, {