From d4adcb3ccfb8623e2173d42f915a21952a98488e Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Tue, 14 Nov 2023 11:34:18 +0100 Subject: [PATCH] Update zig version (#7103) * Update zig version * Update Dockerfile --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> --- .github/workflows/zig-fmt.yml | 2 +- Dockerfile | 2 +- build.zig | 2 +- docs/project/building-windows.md | 2 +- docs/project/contributing.md | 2 +- scripts/setup-zig.ps1 | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/zig-fmt.yml b/.github/workflows/zig-fmt.yml index 3f3ac5a186..97f7d867f5 100644 --- a/.github/workflows/zig-fmt.yml +++ b/.github/workflows/zig-fmt.yml @@ -1,7 +1,7 @@ name: zig-fmt env: - ZIG_VERSION: 0.12.0-dev.1571+03adafd80 + ZIG_VERSION: 0.12.0-dev.1604+caae40c21 on: pull_request: diff --git a/Dockerfile b/Dockerfile index 0eebf60c15..3675f17eba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ ARG CMAKE_BUILD_TYPE=Release ARG NODE_VERSION="20" ARG LLVM_VERSION="16" -ARG ZIG_VERSION="0.12.0-dev.1571+03adafd80" +ARG ZIG_VERSION="0.12.0-dev.1604+caae40c21" ARG SCCACHE_BUCKET ARG SCCACHE_REGION diff --git a/build.zig b/build.zig index c4ee8dd99c..458ddfd988 100644 --- a/build.zig +++ b/build.zig @@ -1,4 +1,4 @@ -const recommended_zig_version = "0.12.0-dev.1571+03adafd80"; +const recommended_zig_version = "0.12.0-dev.1604+caae40c21"; const zig_version = @import("builtin").zig_version; const std = @import("std"); diff --git a/docs/project/building-windows.md b/docs/project/building-windows.md index 97b5678733..29f37a6e4b 100644 --- a/docs/project/building-windows.md +++ b/docs/project/building-windows.md @@ -30,7 +30,7 @@ Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted Bun pins a version of Zig. As the compiler is still in development, breaking changes happen often that will break the build. It is recommended to use [Zigup](https://github.com/marler8997/zigup/releases) as it can quickly switch to any version by name, but you can also [manually download Zig](https://ziglang.org/download/). ```bash -$ zigup 0.12.0-dev.1571+03adafd80 +$ zigup 0.12.0-dev.1604+caae40c21 ``` {% callout %} diff --git a/docs/project/contributing.md b/docs/project/contributing.md index f435190e34..d38f07c5bb 100644 --- a/docs/project/contributing.md +++ b/docs/project/contributing.md @@ -111,7 +111,7 @@ Zig can be installed either with our npm package [`@oven/zig`](https://www.npmjs ```bash $ bun install -g @oven/zig -$ zigup 0.12.0-dev.1571+03adafd80 +$ zigup 0.12.0-dev.1604+caae40c21 ``` {% callout %} diff --git a/scripts/setup-zig.ps1 b/scripts/setup-zig.ps1 index 90254dc98d..5a2ad84baf 100644 --- a/scripts/setup-zig.ps1 +++ b/scripts/setup-zig.ps1 @@ -1,5 +1,5 @@ # TODO(@paperdave): finalize this script out -$ZigVersion = "0.12.0-dev.1571+03adafd80" +$ZigVersion = "0.12.0-dev.1604+caae40c21" $Url = "https://ziglang.org/builds/zig-windows-x86_64-${ZigVersion}.zip"