diff --git a/src/tools/build-manifest/src/main.rs b/src/tools/build-manifest/src/main.rs index 42db12e5e117..4cec1b1f164b 100644 --- a/src/tools/build-manifest/src/main.rs +++ b/src/tools/build-manifest/src/main.rs @@ -282,6 +282,14 @@ fn target_host_combination(&mut self, host: &str, manifest: &Manifest) -> Option PkgType::RustMingw => { if host.contains("pc-windows-gnu") { components.push(host_component(pkg)); + extensions.extend( + TARGETS + .iter() + .filter(|&&target| { + target.contains("pc-windows-gnu") && target != host + }) + .map(|target| Component::from_pkg(pkg, target)), + ); } } // Tools are always present in the manifest,