mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-06 08:36:52 -04:00
Auto merge of #151416 - rami3l:dist/rustc-docs-target-limit, r=jieyouxu
fix(build-manifest)!: limit `rustc-docs` to current host target in the manifest
This commit is contained in:
@@ -301,11 +301,12 @@ impl Builder {
|
||||
| PkgType::LlvmTools
|
||||
| PkgType::RustAnalysis
|
||||
| PkgType::JsonDocs
|
||||
| PkgType::RustcDocs
|
||||
| PkgType::RustcCodegenCranelift
|
||||
| PkgType::LlvmBitcodeLinker => {
|
||||
extensions.push(host_component(pkg));
|
||||
}
|
||||
PkgType::RustcDev | PkgType::RustcDocs => {
|
||||
PkgType::RustcDev => {
|
||||
extensions.extend(HOSTS.iter().map(|target| Component::from_pkg(pkg, target)));
|
||||
}
|
||||
PkgType::RustSrc => {
|
||||
|
||||
Reference in New Issue
Block a user