Update std.meta.Tuple for alignment in StructField/UnionField

This commit is contained in:
Tadeo Kondrak 2020-09-29 10:37:24 -06:00
parent e187ac09cb
commit ec8f0777f2
No known key found for this signature in database
GPG Key ID: D41E092CA43F1D8B

View File

@ -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),
};
}