Skip to content

Commit

Permalink
fix: Update for latest Zig master
Browse files Browse the repository at this point in the history
  • Loading branch information
mochalins authored and ikskuh committed Jan 18, 2025
1 parent 934dcb6 commit 968258d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion args.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 968258d

Please sign in to comment.