authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-07 22:23:09+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-08 00:51:11-07:00
log6976a5da19bf45f315eba2a0047977c6e659b2b3
treef0b9ca945b2f86c25ac26bd92c45e4cc2a7ed7b0
parent61fbdebd61678465f72319d93c69e64e2ed3d0a2

generate_c_size_and_align_checks: Remove extraneous newline

Groups the assertions together properly.

1 files changed, 1 insertions(+), 1 deletions(-)

tools/generate_c_size_and_align_checks.zig+1-1
...@@ -49,7 +49,7 @@ pub fn main() !void {...@@ -49,7 +49,7 @@ pub fn main() !void {
49 c_name(c_type),49 c_name(c_type),
50 target.c_type_byte_size(c_type),50 target.c_type_byte_size(c_type),
51 });51 });
52 try stdout.print("_Static_assert(_Alignof({0s}) == {1d}, \"_Alignof({0s}) == {1d}\");\n\n", .{52 try stdout.print("_Static_assert(_Alignof({0s}) == {1d}, \"_Alignof({0s}) == {1d}\");\n", .{
53 c_name(c_type),53 c_name(c_type),
54 target.c_type_alignment(c_type),54 target.c_type_alignment(c_type),
55 });55 });