Add windows-gnullvm hosts to the manifest

This commit is contained in:
Mateusz Mikuła
2025-06-26 01:31:12 +02:00
parent d14d202262
commit 508021aa43
+3 -1
View File
@@ -14,6 +14,7 @@
static HOSTS: &[&str] = &[
"aarch64-apple-darwin",
"aarch64-pc-windows-gnullvm",
"aarch64-pc-windows-msvc",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
@@ -44,6 +45,7 @@
"x86_64-apple-darwin",
"x86_64-pc-solaris",
"x86_64-pc-windows-gnu",
"x86_64-pc-windows-gnullvm",
"x86_64-pc-windows-msvc",
"x86_64-unknown-freebsd",
"x86_64-unknown-illumos",
@@ -470,7 +472,7 @@ fn target_host_combination(&mut self, host: &str, manifest: &Manifest) -> Option
}
// so is rust-mingw if it's available for the target
PkgType::RustMingw => {
if host.contains("pc-windows-gnu") {
if host.ends_with("pc-windows-gnu") {
components.push(host_component(pkg));
}
}