fix(build-manifest)!: limit rustc-docs to current host target in the manifest

This commit is contained in:
rami3l 2026-01-20 16:57:00 +01:00
parent 9b81629631
commit cf3738a49e
No known key found for this signature in database
GPG key ID: 39A0730456190C3A

View file

@ -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 => {