authorgravatar for justus@klausecker.deJustus Klausecker <justus@klausecker.de> 2026-06-29 19:53:11+02:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-07-17 09:43:53+01:00
log919a5dd8ce8c64d7b9a924ea12215fc5f0227e51
treea3ca7c28f4f08e5f05a416821613be2afba6b5b8
parent4be6e74b5aeed95f4ed9f2a1c3377149c37c781d
signaturelock-open Commit is signed but in an unrecognized format.

test/behavior: skip comparisons of bitpacks >128bits for x86_64 backend


1 files changed, 10 insertions(+), 4 deletions(-)

test/behavior/backing_int.zig+10-4
......@@ -251,8 +251,11 @@ test "@fromBackingInt with packed structs" {
251251 const v3: S3 = @fromBackingInt(b3);
252252 try expect(v3 == S3.expected.val);
253253
254 const v4: S4 = @fromBackingInt(b4);
255 try expect(v4 == S4.expected.val);
254 // https://codeberg.org/ziglang/zig/issues/35982
255 if (builtin.zig_backend != .stage2_x86_64) {
256 const v4: S4 = @fromBackingInt(b4);
257 try expect(v4 == S4.expected.val);
258 }
256259
257260 const v5: S5 = @fromBackingInt(b5);
258261 try expect(v5 == S5.expected.val);
......@@ -353,8 +356,11 @@ test "@fromBackingInt with packed unions" {
353356 const v3: U3 = @fromBackingInt(b3);
354357 try expect(v3 == U3.expected.val);
355358
356 const v4: U4 = @fromBackingInt(b4);
357 try expect(v4 == U4.expected.val);
359 // https://codeberg.org/ziglang/zig/issues/35982
360 if (builtin.zig_backend != .stage2_x86_64) {
361 const v4: U4 = @fromBackingInt(b4);
362 try expect(v4 == U4.expected.val);
363 }
358364
359365 const v5: U5 = @fromBackingInt(b5);
360366 try expect(v5 == U5.expected.val);