Skip to content

Commit e7a5863

Browse files
committed
Add windows-gnullvm hosts to the manifest
1 parent d577b39 commit e7a5863

File tree

1 file changed

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

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use crate::versions::{PkgType, Versions};
1414

1515
static HOSTS: &[&str] = &[
1616
"aarch64-apple-darwin",
17+
"aarch64-pc-windows-gnullvm",
1718
"aarch64-pc-windows-msvc",
1819
"aarch64-unknown-linux-gnu",
1920
"aarch64-unknown-linux-musl",
@@ -44,6 +45,7 @@ static HOSTS: &[&str] = &[
4445
"x86_64-apple-darwin",
4546
"x86_64-pc-solaris",
4647
"x86_64-pc-windows-gnu",
48+
"x86_64-pc-windows-gnullvm",
4749
"x86_64-pc-windows-msvc",
4850
"x86_64-unknown-freebsd",
4951
"x86_64-unknown-illumos",
@@ -470,7 +472,7 @@ impl Builder {
470472
}
471473
// so is rust-mingw if it's available for the target
472474
PkgType::RustMingw => {
473-
if host.contains("pc-windows-gnu") {
475+
if host.ends_with("pc-windows-gnu") {
474476
components.push(host_component(pkg));
475477
}
476478
}

0 commit comments

Comments
 (0)