From 6520d2108797afaabdb925cf32b084da8ab7d161 Mon Sep 17 00:00:00 2001 From: "Nurul Huda (Apon)" Date: Wed, 15 Apr 2026 11:00:12 +0600 Subject: [PATCH] chore: upgrade Zig version to 0.16.0 --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 4 ++-- .tool-versions | 2 +- README.md | 2 +- build.zig.zon | 2 +- example/build.zig.zon | 2 +- pkg/temporal/build.zig.zon | 2 +- test/runner.zig | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 66adb1c..8201213 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -60,7 +60,7 @@ jobs: - name: Setup Zig uses: mlugg/setup-zig@v2 with: - version: 0.16.0-dev.3153+d6f43caad + version: 0.16.0 - name: Setup Rust uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56c0f26..d621aa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Zig uses: mlugg/setup-zig@v2 with: - version: 0.16.0-dev.3153+d6f43caad + version: 0.16.0 - name: Build project run: zig build @@ -55,7 +55,7 @@ jobs: - name: Setup Zig uses: mlugg/setup-zig@v2 with: - version: 0.16.0-dev.3153+d6f43caad + version: 0.16.0 - name: Download build artifacts uses: actions/download-artifact@v4 diff --git a/.tool-versions b/.tool-versions index f81adbc..a73bd9c 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -zig master +zig 0.16.0 diff --git a/README.md b/README.md index ec3e920..869d8eb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Temporalz provides Zig bindings to the Rust-based [temporal_rs](https://github.c #### Prerequisites -- Zig 0.16.0-dev.3153+d6f43caad +- Zig 0.16.0 - Rust toolchain (only required if [prebuilt staticlibs](#prebuilt) are not available for your platform) #### Add as a Dependency diff --git a/build.zig.zon b/build.zig.zon index 4f11f0f..e6f5e98 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -2,7 +2,7 @@ .name = .temporalz, .version = "0.2.0", .fingerprint = 0xd8d79d59acc4faae, - .minimum_zig_version = "0.16.0-dev.3153+d6f43caad", + .minimum_zig_version = "0.16.0", .dependencies = .{ .temporal = .{ .path = "pkg/temporal", diff --git a/example/build.zig.zon b/example/build.zig.zon index 2fee047..ac55e22 100644 --- a/example/build.zig.zon +++ b/example/build.zig.zon @@ -2,7 +2,7 @@ .name = .temporalz_example, .version = "0.1.2", .fingerprint = 0x686c9dfc777f9593, - .minimum_zig_version = "0.16.0-dev.3153+d6f43caad", + .minimum_zig_version = "0.16.0", .dependencies = .{ .temporalz = .{ .path = "../", diff --git a/pkg/temporal/build.zig.zon b/pkg/temporal/build.zig.zon index 0f87655..ed39804 100644 --- a/pkg/temporal/build.zig.zon +++ b/pkg/temporal/build.zig.zon @@ -2,7 +2,7 @@ .name = .temporal, .version = "0.2.0", .fingerprint = 0xd5dcf3f41df6b117, - .minimum_zig_version = "0.16.0-dev.2565+684032671", + .minimum_zig_version = "0.16.0", .dependencies = .{ .temporal_rs = .{ .url = "git+https://github.com/boa-dev/temporal?ref=v0.2.0#ad01ef6f6147345f35a6614bf942a83af14098dd", diff --git a/test/runner.zig b/test/runner.zig index 6bc4d48..1b5b643 100644 --- a/test/runner.zig +++ b/test/runner.zig @@ -149,7 +149,7 @@ pub fn main(init: std.process.Init) !void { Printer.status(.fail, "\n{s}\n\"{s}\" - {s}\n{s}\n", .{ BORDER, friendly_name, @errorName(err), BORDER }); } if (@errorReturnTrace()) |trace| { - std.debug.dumpStackTrace(trace); + std.debug.dumpErrorReturnTrace(trace); } if (env.fail_first) { break;