From e1604256a8fd3466e6429d7b4857d47b8e4b4ef9 Mon Sep 17 00:00:00 2001 From: Dennis Ameling Date: Thu, 28 May 2026 16:37:48 +0200 Subject: [PATCH] fix windows arm64 build --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index ac5fbf6..8e73fda 100644 --- a/build.rs +++ b/build.rs @@ -27,7 +27,7 @@ fn link_vcpkg(mut path: PathBuf, name: &str) -> PathBuf { } else if target_os == "macos" && target_arch == "arm64" { "arm64-osx".to_owned() } else if target_os == "windows" { - "x64-windows-static".to_owned() + format!("{}-windows-static", target_arch) } else { format!("{}-{}", target_arch, target_os) };