From 968258dc1b1230493d8f1677097c832a3d7e0bd8 Mon Sep 17 00:00:00 2001 From: mochalins <117967760+mochalins@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:39:52 +0900 Subject: [PATCH] fix: Update for latest Zig master --- args.zig | 2 +- build.zig.zon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/args.zig b/args.zig index d01372f..9e54da9 100644 --- a/args.zig +++ b/args.zig @@ -469,7 +469,7 @@ fn convertArgumentValue(comptime T: type, allocator: std.mem.Allocator, textInpu } }, .pointer => |ptr| switch (ptr.size) { - .Slice => { + .slice => { if (ptr.child != u8) { @compileError(@typeName(T) ++ " is not a supported pointer type, only slices of u8 are supported"); } diff --git a/build.zig.zon b/build.zig.zon index eb38726..509bb22 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,7 +1,7 @@ .{ .name = "zig-args", .version = "0.0.0", - .minimum_zig_version = "0.14.0", + .minimum_zig_version = "0.14.0-dev.2801+4d8c24c6c", .paths = .{ "args.zig",