mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
TrailerFlags test: fix bad alignment assumption on 32-bit
This commit is contained in:
parent
804b51b179
commit
c5b7322319
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user