| ... | @@ -4786,7 +4786,7 @@ pub const Type = extern union { | ... | @@ -4786,7 +4786,7 @@ pub const Type = extern union { |
| 4786 | return field_offset.offset; | 4786 | return field_offset.offset; |
| 4787 | } | 4787 | } |
| 4788 | | 4788 | |
| 4789 | return std.mem.alignForwardGeneric(u64, it.offset, it.big_align); | 4789 | return std.mem.alignForwardGeneric(u64, it.offset, @maximum(it.big_align, 1)); |
| 4790 | }, | 4790 | }, |
| 4791 | | 4791 | |
| 4792 | .tuple, .anon_struct => { | 4792 | .tuple, .anon_struct => { |
| ... | @@ -4809,7 +4809,7 @@ pub const Type = extern union { | ... | @@ -4809,7 +4809,7 @@ pub const Type = extern union { |
| 4809 | if (i == index) return offset; | 4809 | if (i == index) return offset; |
| 4810 | offset += field_ty.abiSize(target); | 4810 | offset += field_ty.abiSize(target); |
| 4811 | } | 4811 | } |
| 4812 | offset = std.mem.alignForwardGeneric(u64, offset, big_align); | 4812 | offset = std.mem.alignForwardGeneric(u64, offset, @maximum(big_align, 1)); |
| 4813 | return offset; | 4813 | return offset; |
| 4814 | }, | 4814 | }, |
| 4815 | | 4815 | |