| ... | ... | @@ -347,7 +347,7 @@ test "@alignCast functions" { |
| 347 | 347 | |
| 348 | 348 | // function alignment is a compile error on wasm32/wasm64 |
| 349 | 349 | 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; |
| 351 | 351 | |
| 352 | 352 | try expect(fnExpectsOnly1(simple4) == 0x19); |
| 353 | 353 | } |
| ... | ... | @@ -512,7 +512,7 @@ test "align(N) on functions" { |
| 512 | 512 | |
| 513 | 513 | // function alignment is a compile error on wasm32/wasm64 |
| 514 | 514 | 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; |
| 516 | 516 | |
| 517 | 517 | try expect((@intFromPtr(&overaligned_fn) & (0x1000 - 1)) == 0); |
| 518 | 518 | } |