Commit 6976a5da19

Alex Rønne Petersen <alex@alexrp.com>
2024-08-07 22:23:09
generate_c_size_and_align_checks: Remove extraneous newline
Groups the assertions together properly.
1 parent 61fbdeb
tools/generate_c_size_and_align_checks.zig
@@ -49,7 +49,7 @@ pub fn main() !void {
             c_name(c_type),
             target.c_type_byte_size(c_type),
         });
-        try stdout.print("_Static_assert(_Alignof({0s}) == {1d}, \"_Alignof({0s}) == {1d}\");\n\n", .{
+        try stdout.print("_Static_assert(_Alignof({0s}) == {1d}, \"_Alignof({0s}) == {1d}\");\n", .{
             c_name(c_type),
             target.c_type_alignment(c_type),
         });