mirror of
https://github.com/ziglang/zig.git
synced 2026-02-16 06:18:32 +00:00
Update std.meta.ArgsTuple for alignment in StructField/UnionField
This commit is contained in:
parent
ec8f0777f2
commit
362c87f1aa
@ -854,6 +854,7 @@ pub fn ArgsTuple(comptime Function: type) type {
|
||||
.field_type = arg.arg_type.?,
|
||||
.default_value = @as(?(arg.arg_type.?), null),
|
||||
.is_comptime = false,
|
||||
.alignment = @alignOf(arg.arg_type.?),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user