Skip to content

Commit 99a4c74

Browse files
authored
- Fixups for 0.14.0 (#1)
1 parent 820e0e5 commit 99a4c74

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.zigversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.14.0-dev.2577+271452d22
1+
0.14.0

build.zig.zon

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.{
2-
.name = "zpool",
2+
.name = .zpool,
3+
.fingerprint = 0xfb9579e9d9bd6e6c,
34
.version = "0.11.0-dev",
45
.paths = .{
56
"build.zig",

src/utils.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ pub fn StructOfSlices(comptime Struct: type) type {
6363
.pointer = .{
6464
.child = element_type,
6565
.alignment = @alignOf(element_type),
66-
.size = .Slice,
66+
.size = .slice,
6767
.is_const = false,
6868
.is_volatile = false,
6969
.address_space = .generic,
7070
.is_allowzero = false,
71-
.sentinel = null,
71+
.sentinel_ptr = null,
7272
},
7373
};
7474

@@ -78,7 +78,7 @@ pub fn StructOfSlices(comptime Struct: type) type {
7878
const slice_field = std.builtin.Type.StructField{
7979
.name = struct_field.name,
8080
.type = FieldType,
81-
.default_value = null,
81+
.default_value_ptr = null,
8282
.is_comptime = false,
8383
.alignment = @alignOf(FieldType),
8484
};

0 commit comments

Comments
 (0)