Skip to content

Commit be7fb3c

Browse files
committed
fix: use zigbuild for Windows ARM64 in release workflow
1 parent 23aaa5f commit be7fb3c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎scripts/release/build-binaries.mjs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ for (const target of config.targets) {
8383
const binaryName = `${cliName}${isWindows ? ".exe" : ""}`;
8484

8585
console.log(`Building ${rt}...`);
86-
const buildArgs = isLinux
86+
const isWindowsArm64 = isWindows && rt.includes("aarch64");
87+
const buildArgs = isLinux || isWindowsArm64
8788
? ["zigbuild", "--release", "--target", rt]
8889
: ["build", "--release", "--target", rt];
8990

0 commit comments

Comments
 (0)