From cf3738a49e22bca0352f2fb30de0810077ca6774 Mon Sep 17 00:00:00 2001 From: rami3l Date: Tue, 20 Jan 2026 16:57:00 +0100 Subject: [PATCH] fix(build-manifest)!: limit `rustc-docs` to current host target in the manifest --- src/tools/build-manifest/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 4cec1b1f164b..37e8a6e8f1e9 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -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 => {