about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authormsizanoen <msizanoen@qtmlabs.xyz>2023-09-19 12:22:45 +0200
committermsizanoen <msizanoen@qtmlabs.xyz>2023-09-19 12:22:45 +0200
commit4d4c13bbd6584fea9972da5bbbecfa51285dbe68 (patch)
tree71ea96b02deaddc3710677def5a3a36351260e73 /tests
parent751ecde0640f1d079515964e72e2646e82cb25f4 (diff)
downloadrust-4d4c13bbd6584fea9972da5bbbecfa51285dbe68.tar.gz
rust-4d4c13bbd6584fea9972da5bbbecfa51285dbe68.zip
tests/ui/abi: Enable repr(transparent) union ABI tests on RISC-V
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/abi/compatibility.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/abi/compatibility.rs b/tests/ui/abi/compatibility.rs
index b3e75bb8233..d4f42cdda97 100644
--- a/tests/ui/abi/compatibility.rs
+++ b/tests/ui/abi/compatibility.rs
@@ -10,7 +10,6 @@ use std::ptr::NonNull;
 // Hence there are `cfg` throughout this test to disable parts of it on those targets.
 // sparc64: https://github.com/rust-lang/rust/issues/115336
 // mips64: https://github.com/rust-lang/rust/issues/115404
-// riscv64: https://github.com/rust-lang/rust/issues/115481
 // loongarch64: https://github.com/rust-lang/rust/issues/115509
 
 macro_rules! assert_abi_compatible {
@@ -110,7 +109,7 @@ macro_rules! test_transparent {
             test_abi_compatible!(wrap1, $t, Wrapper1<$t>);
             test_abi_compatible!(wrap2, $t, Wrapper2<$t>);
             test_abi_compatible!(wrap3, $t, Wrapper3<$t>);
-            #[cfg(not(any(target_arch = "riscv64", target_arch = "loongarch64")))]
+            #[cfg(not(target_arch = "loongarch64"))]
             test_abi_compatible!(wrap4, $t, WrapperUnion<$t>);
         }
     };