Skip to content

Commit 4d4c13b

Browse files
committed
tests/ui/abi: Enable repr(transparent) union ABI tests on RISC-V
1 parent 751ecde commit 4d4c13b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/ui/abi/compatibility.rs

+1-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-
// riscv64: https://github.com/rust-lang/rust/issues/115481
1413
// loongarch64: https://github.com/rust-lang/rust/issues/115509
1514

1615
macro_rules! assert_abi_compatible {
@@ -110,7 +109,7 @@ macro_rules! test_transparent {
110109
test_abi_compatible!(wrap1, $t, Wrapper1<$t>);
111110
test_abi_compatible!(wrap2, $t, Wrapper2<$t>);
112111
test_abi_compatible!(wrap3, $t, Wrapper3<$t>);
113-
#[cfg(not(any(target_arch = "riscv64", target_arch = "loongarch64")))]
112+
#[cfg(not(target_arch = "loongarch64"))]
114113
test_abi_compatible!(wrap4, $t, WrapperUnion<$t>);
115114
}
116115
};

0 commit comments

Comments
 (0)