From ead7722fd9904c6c5cd8267513fe168adf2c0925 Mon Sep 17 00:00:00 2001 From: "Nurul Huda (Apon)" Date: Tue, 14 Apr 2026 16:48:10 +0600 Subject: [PATCH] chore: upgrate zig version --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- build.zig.zon | 2 +- example/build.zig.zon | 2 +- pkg/temporal/build.zig.zon | 4 ++-- test/runner.zig | 5 +++-- 7 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b4c9020..66adb1c 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.2860+9c5460316 + version: 0.16.0-dev.3153+d6f43caad - name: Setup Rust uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3be13d9..56c0f26 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.2860+9c5460316 + version: 0.16.0-dev.3153+d6f43caad - 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.2860+9c5460316 + version: 0.16.0-dev.3153+d6f43caad - name: Download build artifacts uses: actions/download-artifact@v4 diff --git a/README.md b/README.md index 324979a..ec3e920 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.2860+9c5460316 +- Zig 0.16.0-dev.3153+d6f43caad - 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 10077d0..4f11f0f 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.2860+9c5460316", + .minimum_zig_version = "0.16.0-dev.3153+d6f43caad", .dependencies = .{ .temporal = .{ .path = "pkg/temporal", diff --git a/example/build.zig.zon b/example/build.zig.zon index 3b6f654..2fee047 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.2860+9c5460316", + .minimum_zig_version = "0.16.0-dev.3153+d6f43caad", .dependencies = .{ .temporalz = .{ .path = "../", diff --git a/pkg/temporal/build.zig.zon b/pkg/temporal/build.zig.zon index ec74bc2..0f87655 100644 --- a/pkg/temporal/build.zig.zon +++ b/pkg/temporal/build.zig.zon @@ -14,8 +14,8 @@ .lazy = true, }, .build_crab = .{ - .url = "git+https://github.com/nurulhudaapon/build.crab?ref=zig-dev#b1387865ef8e6e6f3a51308045a1207063ca80c1", - .hash = "build_crab-0.2.1-U0id_-rFAABknon1DAteE0v1UZS2-rJ9eUDm2ByY80v3", + .url = "git+https://github.com/nurulhudaapon/build.crab?ref=zig-dev#48706bf535be39c87df6aeafcc14b946d174bb50", + .hash = "build_crab-0.2.1-U0id_ybJAABQczZZ4_zdQnkJuZF9WLQoHkkrY5TTq4bR", }, }, .paths = .{ diff --git a/test/runner.zig b/test/runner.zig index f728cdd..6bc4d48 100644 --- a/test/runner.zig +++ b/test/runner.zig @@ -272,8 +272,9 @@ const SlowTracker = struct { name: []const u8, }; - fn deinit(self: SlowTracker, allocator: Allocator) void { - self.slowest.deinit(allocator); + fn deinit(self: *SlowTracker, allocator: Allocator) void { + var slowest = &self.slowest; + slowest.deinit(allocator); } fn startTiming(self: *SlowTracker) void {