From b731767dd777e9337743e4cd936f19bdf04c56a4 Mon Sep 17 00:00:00 2001 From: Altagos Date: Thu, 22 Jan 2026 11:09:37 +0100 Subject: [PATCH] update to latest zig@master -> fix testing.ref calls --- build.zig.zon | 4 ++-- src/agent/root.zig | 9 ++++----- src/st/root.zig | 9 ++++----- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/build.zig.zon b/build.zig.zon index 9dbce50..a88d761 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -3,8 +3,8 @@ .version = "0.0.1", .dependencies = .{ .known_folders = .{ - .url = "git+https://github.com/ziglibs/known-folders.git?ref=master#8465ba6cfc49fe941f95c75b3ae48c03aa6125b5", - .hash = "known_folders-0.0.0-Fy-PJqrJAACSvJM3Ux3aJi3wu5hOUYBRvcTM-9NTelui", + .url = "git+https://github.com/ziglibs/known-folders.git?ref=master#82027007c0eb199a3242c167a5cffd83b6ee571b", + .hash = "known_folders-0.0.0-Fy-PJqHJAAB43zDJmOdlr3nViu69IFI9pNFt7hkHjKk4", }, }, .minimum_zig_version = "0.16.0-dev.1246+4b593a6c2", diff --git a/src/agent/root.zig b/src/agent/root.zig index a0dcc66..30fc341 100644 --- a/src/agent/root.zig +++ b/src/agent/root.zig @@ -1,7 +1,6 @@ pub const config = @import("config.zig"); -// temporarily disabled - we don't have any test to run -// test { -// const testing = @import("std").testing; -// testing.refAllDeclsRecursive(@This()); -// } +test { + const testing = @import("std").testing; + testing.refAllDecls(@This()); +} diff --git a/src/st/root.zig b/src/st/root.zig index abf202a..9adcb90 100644 --- a/src/st/root.zig +++ b/src/st/root.zig @@ -2,8 +2,7 @@ pub const api = @import("api.zig"); pub const http = @import("http.zig"); pub const models = @import("models.zig"); -// temporarily disabled - we don't have any test to run -// test { -// const testing = @import("std").testing; -// testing.refAllDeclsRecursive(@This()); -// } +test { + const testing = @import("std").testing; + testing.refAllDecls(@This()); +} -- 2.51.2