mirror of
https://github.com/fairyglade/ly.git
synced 2026-11-07 10:41:43 +00:00
Backport: Update to Zig 0.17.0
This commit is contained in:
1 parent
73fcb8646a
commit
def17ade93
12 files changed
+49
-63
No files matched your search
@@ -1,7 +1,7 @@
|
||||
const std = @import("std");
|
||||
|
||||
const ErrInt = std.meta.Int(.unsigned, @bitSizeOf(anyerror));
|
||||
const PaddingInt = std.meta.Int(.unsigned, 8 - (@bitSizeOf(ErrInt) + @bitSizeOf(bool)) % 8);
|
||||
const ErrInt = @Int(.unsigned, @bitSizeOf(anyerror));
|
||||
const PaddingInt = @Int(.unsigned, 8 - (@bitSizeOf(ErrInt) + @bitSizeOf(bool)) % 8);
|
||||
|
||||
const ErrorHandler = packed struct {
|
||||
has_error: bool = false,
|
||||
|
||||
Reference in new issue
Block a user