source: update struct layout enum usage
The enum member name case was changed in ziglang/zig@099f3c4039. This appears to be the only change required to bring us up to compatibility with zig 0.12.0-dev.3561+f45ba7d0c.
This commit is contained in:
@@ -446,21 +446,21 @@ pub fn CommandBuilder(comptime UserContext: type) type {
|
||||
}
|
||||
|
||||
_ = @Type(.{ .Struct = .{
|
||||
.layout = .Auto,
|
||||
.layout = .auto,
|
||||
.fields = tag_fields,
|
||||
.decls = &.{},
|
||||
.is_tuple = false,
|
||||
} });
|
||||
|
||||
_ = @Type(.{ .Struct = .{
|
||||
.layout = .Auto,
|
||||
.layout = .auto,
|
||||
.fields = env_var_fields,
|
||||
.decls = &.{},
|
||||
.is_tuple = false,
|
||||
} });
|
||||
|
||||
return @Type(.{ .Struct = .{
|
||||
.layout = .Auto,
|
||||
.layout = .auto,
|
||||
.fields = fields,
|
||||
.decls = &.{},
|
||||
.is_tuple = false,
|
||||
@@ -519,7 +519,7 @@ pub fn CommandBuilder(comptime UserContext: type) type {
|
||||
}
|
||||
|
||||
return @Type(.{ .Struct = .{
|
||||
.layout = .Auto,
|
||||
.layout = .auto,
|
||||
.fields = fields,
|
||||
.decls = &.{},
|
||||
.is_tuple = false,
|
||||
|
@@ -265,7 +265,7 @@ pub const TupleBuilder = struct {
|
||||
}
|
||||
|
||||
return @Type(.{ .Struct = .{
|
||||
.layout = .Auto,
|
||||
.layout = .auto,
|
||||
.fields = &fields,
|
||||
.decls = &.{},
|
||||
.is_tuple = true,
|
||||
|
Reference in New Issue
Block a user