zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit c5b7322319a9559423fcda5c20c3b2e22338b2b4 (tree)
parent 804b51b179bf7af689d308a092d1b02e94674570
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Wed, 15 Jul 2020 04:04:04 -0700

TrailerFlags test: fix bad alignment assumption on 32-bit

Diffstat:
Mlib/std/meta/trailer_flags.zig | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/lib/std/meta/trailer_flags.zig b/lib/std/meta/trailer_flags.zig @@ -124,7 +124,6 @@ test "TrailerFlags" { .b = true, .c = 1234, }); - testing.expect(flags.sizeInBytes() == 16); const slice = try testing.allocator.allocAdvanced(u8, 8, flags.sizeInBytes(), .exact); defer testing.allocator.free(slice);