Skip to content

Commit c1ae99e

Browse files
committed
test: Disable align(N) on functions and @alignCast functions for thumbeb too.
1 parent 52e9fd7 commit c1ae99e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/behavior/align.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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
}

0 commit comments

Comments
 (0)