update to latest zig
This commit is contained in:
parent
f6ed382b6d
commit
83a52ce8e3
3 changed files with 6 additions and 6 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -109,11 +109,11 @@
|
|||
"nixpkgs": "nixpkgs_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704500574,
|
||||
"narHash": "sha256-Ockm1D5QsxdVZZoD0Yf5Kg4FupbVnk3X0RLkc6geRIE=",
|
||||
"lastModified": 1710331756,
|
||||
"narHash": "sha256-ZYFHWEHupxj/e9jOcjUOJLVTuvMR4fYMV53F0zu8Rfs=",
|
||||
"owner": "mitchellh",
|
||||
"repo": "zig-overlay",
|
||||
"rev": "e056aafd8db157ff7519518a026c5ba7040522cf",
|
||||
"rev": "510a1f01f1ddc06df0f2b888f12ad1aa9a65cc31",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -192,7 +192,7 @@ fn BlockContext(comptime Captures: type, comptime InvokeFn: type) type {
|
|||
|
||||
return @Type(.{
|
||||
.Struct = .{
|
||||
.layout = .Extern,
|
||||
.layout = .@"extern",
|
||||
.fields = &fields,
|
||||
.decls = &.{},
|
||||
.is_tuple = false,
|
||||
|
|
|
@ -121,7 +121,7 @@ pub const Encoding = union(enum) {
|
|||
},
|
||||
.structure => |s| {
|
||||
const struct_info = @typeInfo(s.struct_type);
|
||||
assert(struct_info.Struct.layout == .Extern);
|
||||
assert(struct_info.Struct.layout == .@"extern");
|
||||
|
||||
// Strips the fully qualified type name to leave just the
|
||||
// type name. Used in naming the Struct in an encoding.
|
||||
|
@ -143,7 +143,7 @@ pub const Encoding = union(enum) {
|
|||
},
|
||||
.@"union" => |u| {
|
||||
const union_info = @typeInfo(u.union_type);
|
||||
assert(union_info.Union.layout == .Extern);
|
||||
assert(union_info.Union.layout == .@"extern");
|
||||
|
||||
// Strips the fully qualified type name to leave just the
|
||||
// type name. Used in naming the Union in an encoding
|
||||
|
|
Loading…
Add table
Reference in a new issue