Update std.meta.Tuple for alignment in StructField/UnionField
This commit is contained in:
@@ -884,6 +884,7 @@ pub fn Tuple(comptime types: []const type) type {
|
||||
.field_type = T,
|
||||
.default_value = @as(?T, null),
|
||||
.is_comptime = false,
|
||||
.alignment = @alignOf(T),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user