From 6976a5da19bf45f315eba2a0047977c6e659b2b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Wed, 7 Aug 2024 22:23:09 +0200 Subject: [PATCH] generate_c_size_and_align_checks: Remove extraneous newline Groups the assertions together properly. --- tools/generate_c_size_and_align_checks.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate_c_size_and_align_checks.zig b/tools/generate_c_size_and_align_checks.zig index 840ef2b6eb88..45e099ec4bdc 100644 --- a/tools/generate_c_size_and_align_checks.zig +++ b/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), });