Skip to content

Commit 10d55c3

Browse files
committed
tests/ui/abi: Enable repr(transparent) union ABI tests on LoongArch64
1 parent 0163768 commit 10d55c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/ui/abi/compatibility.rs

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ use std::ptr::NonNull;
1010
// Hence there are `cfg` throughout this test to disable parts of it on those targets.
1111
// sparc64: https://github.com/rust-lang/rust/issues/115336
1212
// mips64: https://github.com/rust-lang/rust/issues/115404
13-
// loongarch64: https://github.com/rust-lang/rust/issues/115509
1413

1514
macro_rules! assert_abi_compatible {
1615
($name:ident, $t1:ty, $t2:ty) => {
@@ -109,7 +108,6 @@ macro_rules! test_transparent {
109108
test_abi_compatible!(wrap1, $t, Wrapper1<$t>);
110109
test_abi_compatible!(wrap2, $t, Wrapper2<$t>);
111110
test_abi_compatible!(wrap3, $t, Wrapper3<$t>);
112-
#[cfg(not(target_arch = "loongarch64"))]
113111
test_abi_compatible!(wrap4, $t, WrapperUnion<$t>);
114112
}
115113
};

0 commit comments

Comments
 (0)