authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-01-06 16:22:04+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-01-06 16:31:32+01:00
logc1ae99efb30b1dcc86b3f41b419685a62413378e
treef05d025ec973c512f5d3894fe608318b88a7a62c
parent52e9fd7c3c9c92ff4cca02f10f4e2022c11d9351
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Disable `align(N) on functions` and `@alignCast functions` for thumbeb too.


1 files changed, 2 insertions(+), 2 deletions(-)

test/behavior/align.zig+2-2
......@@ -347,7 +347,7 @@ test "@alignCast functions" {
347347
348348 // function alignment is a compile error on wasm32/wasm64
349349 if (native_arch == .wasm32 or native_arch == .wasm64) return error.SkipZigTest;
350 if (native_arch == .thumb) return error.SkipZigTest;
350 if (native_arch == .thumb or native_arch == .thumbeb) return error.SkipZigTest;
351351
352352 try expect(fnExpectsOnly1(simple4) == 0x19);
353353}
......@@ -512,7 +512,7 @@ test "align(N) on functions" {
512512
513513 // function alignment is a compile error on wasm32/wasm64
514514 if (native_arch == .wasm32 or native_arch == .wasm64) return error.SkipZigTest;
515 if (native_arch == .thumb) return error.SkipZigTest;
515 if (native_arch == .thumb or native_arch == .thumbeb) return error.SkipZigTest;
516516
517517 try expect((@intFromPtr(&overaligned_fn) & (0x1000 - 1)) == 0);
518518}