Skip to content

Commit 4a91499

Browse files
committed
feat: support zig 0.15 dev
1 parent 765b57e commit 4a91499

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/msgpack.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ const native_endian = builtin.cpu.arch.endian();
1111

1212
const big_endian = switch (current_zig.minor) {
1313
11 => std.builtin.Endian.Big,
14-
12, 13, 14 => std.builtin.Endian.big,
14+
12, 13, 14, 15 => std.builtin.Endian.big,
1515
else => @compileError("not support current version zig"),
1616
};
1717
const little_endian = switch (current_zig.minor) {
1818
11 => std.builtin.Endian.Little,
19-
12, 13, 14 => std.builtin.Endian.little,
19+
12, 13, 14, 15 => std.builtin.Endian.little,
2020
else => @compileError("not support current version zig"),
2121
};
2222

0 commit comments

Comments
 (0)