chore: upgrate zig version

This commit is contained in:
Nurul Huda (Apon) 2026-04-14 16:48:10 +06:00
parent 18613407f8
commit ead7722fd9
No known key found for this signature in database
GPG key ID: 5D3F1DE2855A2F79
7 changed files with 11 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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",

View file

@ -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 = "../",

View file

@ -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 = .{

View file

@ -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 {