Skip to content

Commit ef7a8a9

Browse files
committed
Update Zig
1 parent c0e8fdd commit ef7a8a9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

build.zig.zon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
.fingerprint = 0x645cd3e2b3f03958,
77

8-
.minimum_zig_version = "0.15.0-dev.1092+d772c0627",
8+
.minimum_zig_version = "0.15.0-dev.1552+b87b95868",
99

1010
.dependencies = .{},
1111

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[tools]
2-
zig = "0.14"
2+
zig = "master"

src/root.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const EachDllIncludes = blk: {
7272
.type = DllIncludes,
7373
.default_value_ptr = &DllIncludes{},
7474
.is_comptime = false,
75-
.alignment = 0,
75+
.alignment = @alignOf(DllIncludes),
7676
}};
7777
}
7878

@@ -111,7 +111,7 @@ const ProxyFuncAddrs = blk: {
111111
.type = FuncAddr,
112112
.default_value_ptr = @ptrCast(&@as(FuncAddr, null)),
113113
.is_comptime = false,
114-
.alignment = 0,
114+
.alignment = @alignOf(FuncAddr),
115115
}};
116116
}
117117
}

0 commit comments

Comments
 (0)