about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-10-25 21:49:59 -0700
committerGitHub <noreply@github.com>2016-10-25 21:49:59 -0700
commit586a9883130bb7f8a1e8ea183b5019a56fb49426 (patch)
tree5293177ad650729f29f4a6e7389b88642acacc67 /src/test/codegen
parenta7557e758d11312ac38b516aa7ac1a629e23506c (diff)
parent1422ac9a8f5841aee2db18e7819cf9ccda8085d0 (diff)
downloadrust-586a9883130bb7f8a1e8ea183b5019a56fb49426.tar.gz
rust-586a9883130bb7f8a1e8ea183b5019a56fb49426.zip
Auto merge of #36421 - TimNN:check-abis, r=alexcrichton
check target abi support

This PR checks for each extern function / block whether the ABI / calling convention used is supported by the current target.

This was achieved by adding an `abi_blacklist` field to the target specifications, listing the calling conventions unsupported for that target.
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/abi-sysv64.rs3
-rw-r--r--src/test/codegen/issue-32364.rs3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/test/codegen/abi-sysv64.rs b/src/test/codegen/abi-sysv64.rs
index 2b8e8a1b6b2..4f6a50eab49 100644
--- a/src/test/codegen/abi-sysv64.rs
+++ b/src/test/codegen/abi-sysv64.rs
@@ -12,6 +12,9 @@
 // llvm. Also checks that the abi-sysv64 feature gate allows usage
 // of the sysv64 abi.
 
+// ignore-arm
+// ignore-aarch64
+
 // compile-flags: -C no-prepopulate-passes
 
 #![crate_type = "lib"]
diff --git a/src/test/codegen/issue-32364.rs b/src/test/codegen/issue-32364.rs
index 926987be0e0..401253a315f 100644
--- a/src/test/codegen/issue-32364.rs
+++ b/src/test/codegen/issue-32364.rs
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// ignore-arm
+// ignore-aarch64
+
 // compile-flags: -C no-prepopulate-passes
 
 struct Foo;