diff --git a/.github/workflows/zig.yaml b/.github/workflows/zig.yaml index 1630a154..48d5bdd2 100644 --- a/.github/workflows/zig.yaml +++ b/.github/workflows/zig.yaml @@ -52,7 +52,7 @@ jobs: - name: Install ziglang uses: goto-bus-stop/setup-zig@v1 with: - version: 0.9.1 + version: 0.10.0 - name: Cache NPM dependencies uses: actions/cache@v3 with: 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',