zig

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

commit b074299124e1403d48d9904c6ab855b7c72df9e0 (tree)
parent b9a63433b71e8b07691da158a136d17e1f04c49b
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Fri,  5 Sep 2025 19:45:07 -0700

std: update for new packed union rules

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

diff --git a/lib/std/meta.zig b/lib/std/meta.zig @@ -1193,13 +1193,6 @@ test hasUniqueRepresentation { try testing.expect(hasUniqueRepresentation(TestStruct6)); - const TestUnion1 = packed union { - a: u32, - b: u16, - }; - - try testing.expect(!hasUniqueRepresentation(TestUnion1)); - const TestUnion2 = extern union { a: u32, b: u16,