From 32cf02e633030bc46ec963d47b0e11dd17f89cda Mon Sep 17 00:00:00 2001 From: LongYinan Date: Sat, 5 Nov 2022 00:11:23 +0800 Subject: [PATCH] fix(cli): compatible with zig 0.10.0 --- cli/src/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/build.ts b/cli/src/build.ts index 82803476..2a99dc6d 100644 --- a/cli/src/build.ts +++ b/cli/src/build.ts @@ -30,7 +30,7 @@ const ZIG_PLATFORM_TARGET_MAP = { // 'x86_64-pc-windows-gnu': 'x86_64-windows-gnu', // https://github.com/ziglang/zig/issues/1759 // 'x86_64-unknown-freebsd': 'x86_64-freebsd', - 'x86_64-apple-darwin': 'x86_64-macos-gnu', + 'x86_64-apple-darwin': 'x86_64-macos', 'aarch64-apple-darwin': 'aarch64-macos', 'aarch64-unknown-linux-gnu': 'aarch64-linux-gnu', 'aarch64-unknown-linux-musl': 'aarch64-linux-musl',