Skip to content

Commit 625b63f

Browse files
committed
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
2 parents 838db25 + cf3738a commit 625b63f

File tree

1 file changed

+2
-1
lines changed
  • src/tools/build-manifest/src

1 file changed

+2
-1
lines changed

src/tools/build-manifest/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,12 @@ impl Builder {
301301
| PkgType::LlvmTools
302302
| PkgType::RustAnalysis
303303
| PkgType::JsonDocs
304+
| PkgType::RustcDocs
304305
| PkgType::RustcCodegenCranelift
305306
| PkgType::LlvmBitcodeLinker => {
306307
extensions.push(host_component(pkg));
307308
}
308-
PkgType::RustcDev | PkgType::RustcDocs => {
309+
PkgType::RustcDev => {
309310
extensions.extend(HOSTS.iter().map(|target| Component::from_pkg(pkg, target)));
310311
}
311312
PkgType::RustSrc => {

0 commit comments

Comments
 (0)