motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 6976a5da19bf45f315eba2a0047977c6e659b2b3 (tree)
parent 61fbdebd61678465f72319d93c69e64e2ed3d0a2
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Wed,  7 Aug 2024 22:23:09 +0200

generate_c_size_and_align_checks: Remove extraneous newline

Groups the assertions together properly.
Diffstat:
Mtools/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 @@ -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), });