about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-10-29 12:24:32 +0100
committerRalf Jung <post@ralfj.de>2023-11-03 07:14:27 +0100
commit405e4204d0fb7ec10ea10434fb99bcacd0324b13 (patch)
treed7f48590ca47b73572ea37069ea8f2db7f4cc01a /tests
parent2429818b20e6e67edc7c9d2f33b2dc0e9087b924 (diff)
move ABI sanity check from LLVM codegen backend to ABI computation logic
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/abi/compatibility.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/ui/abi/compatibility.rs b/tests/ui/abi/compatibility.rs
index 0cdf229711a..1e2e1dac9ee 100644
--- a/tests/ui/abi/compatibility.rs
+++ b/tests/ui/abi/compatibility.rs
@@ -37,9 +37,11 @@
 // revisions: wasi
 //[wasi] compile-flags: --target wasm32-wasi
 //[wasi] needs-llvm-components: webassembly
-// revisions: nvptx64
-//[nvptx64] compile-flags: --target nvptx64-nvidia-cuda
-//[nvptx64] needs-llvm-components: nvptx
+// FIXME: disabled on nvptx64 since the target ABI fails the sanity check
+/* revisions: nvptx64
+  [nvptx64] compile-flags: --target nvptx64-nvidia-cuda
+  [nvptx64] needs-llvm-components: nvptx
+*/
 #![feature(rustc_attrs, unsized_fn_params, transparent_unions)]
 #![cfg_attr(not(host), feature(no_core, lang_items), no_std, no_core)]
 #![allow(unused, improper_ctypes_definitions, internal_features)]