From ca04e08856e6b74f2bc9ca04a3d7eec169bc4a83 Mon Sep 17 00:00:00 2001 From: kcbanner Date: Sun, 9 Mar 2025 17:12:05 -0400 Subject: [PATCH] - Fixups for 0.14.0 --- .zigversion | 2 +- build.zig.zon | 3 ++- src/utils.zig | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.zigversion b/.zigversion index 27af068..a803cc2 100644 --- a/.zigversion +++ b/.zigversion @@ -1 +1 @@ -0.14.0-dev.2577+271452d22 +0.14.0 diff --git a/build.zig.zon b/build.zig.zon index 80d641e..1d8fa61 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,5 +1,6 @@ .{ - .name = "zpool", + .name = .zpool, + .fingerprint = 0xfb9579e9d9bd6e6c, .version = "0.11.0-dev", .paths = .{ "build.zig", diff --git a/src/utils.zig b/src/utils.zig index f7acd4e..a1708e9 100644 --- a/src/utils.zig +++ b/src/utils.zig @@ -63,12 +63,12 @@ pub fn StructOfSlices(comptime Struct: type) type { .pointer = .{ .child = element_type, .alignment = @alignOf(element_type), - .size = .Slice, + .size = .slice, .is_const = false, .is_volatile = false, .address_space = .generic, .is_allowzero = false, - .sentinel = null, + .sentinel_ptr = null, }, }; @@ -78,7 +78,7 @@ pub fn StructOfSlices(comptime Struct: type) type { const slice_field = std.builtin.Type.StructField{ .name = struct_field.name, .type = FieldType, - .default_value = null, + .default_value_ptr = null, .is_comptime = false, .alignment = @alignOf(FieldType), };