From 2096fa92f97c3f9df4be9ec1dc101aa5b3f145c3 Mon Sep 17 00:00:00 2001 From: Johan Persson Date: Mon, 19 Jan 2026 11:54:19 +0100 Subject: [PATCH 1/2] Fix removed refAllDeclsRecursive call The commit https://codeberg.org/ziglang/zig/commit/790d28d6cd9029805af857d56645a6ce191bfe91 removed `refAllDeclsRecursive` in favor of `refAllDecls`. --- README.md | 2 +- build.zig.zon | 2 +- src/parser.zig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 97070bc..610830f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Provides the necessary building blocks to develop Language Server Protocol imple # Installation > [!NOTE] -> The default branch requires Zig `0.16.0-dev.1976+8e091047b` or later. Checkout the `0.15.x` branch when using Zig 0.15 +> The default branch requires Zig `0.16.0-dev.2255+d417441f4` or later. Checkout the `0.15.x` branch when using Zig 0.15 ```bash # Initialize a `zig build` project if you haven't already diff --git a/build.zig.zon b/build.zig.zon index e2ffaf9..6d351cf 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,7 +1,7 @@ .{ .name = .lsp_kit, .version = "0.1.0", - .minimum_zig_version = "0.16.0-dev.1976+8e091047b", + .minimum_zig_version = "0.16.0-dev.2255+d417441f4", .dependencies = .{}, .paths = .{ "build.zig", diff --git a/src/parser.zig b/src/parser.zig index 3770501..041d826 100644 --- a/src/parser.zig +++ b/src/parser.zig @@ -358,5 +358,5 @@ fn expectParseEqual(comptime T: type, comptime expected: anytype, s: []const u8) } comptime { - std.testing.refAllDeclsRecursive(@This()); + std.testing.refAllDecls(@This()); } From 696ec87cf37215d5a423d7c0a31d4a8237387c83 Mon Sep 17 00:00:00 2001 From: Techatrix Date: Wed, 21 Jan 2026 18:55:19 +0100 Subject: [PATCH 2/2] revert minimum zig version bump The change is backwards compatible. --- README.md | 2 +- build.zig.zon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 610830f..97070bc 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Provides the necessary building blocks to develop Language Server Protocol imple # Installation > [!NOTE] -> The default branch requires Zig `0.16.0-dev.2255+d417441f4` or later. Checkout the `0.15.x` branch when using Zig 0.15 +> The default branch requires Zig `0.16.0-dev.1976+8e091047b` or later. Checkout the `0.15.x` branch when using Zig 0.15 ```bash # Initialize a `zig build` project if you haven't already diff --git a/build.zig.zon b/build.zig.zon index 6d351cf..e2ffaf9 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,7 +1,7 @@ .{ .name = .lsp_kit, .version = "0.1.0", - .minimum_zig_version = "0.16.0-dev.2255+d417441f4", + .minimum_zig_version = "0.16.0-dev.1976+8e091047b", .dependencies = .{}, .paths = .{ "build.zig",