about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-06-09 18:29:27 -0400
committerGitHub <noreply@github.com>2017-06-09 18:29:27 -0400
commit19ba908ac082ae15b96ff3fd65b367a5bae176a0 (patch)
treec38411bf610117b5ff21427d62ae14c9abfd7c77
parent1fcb6d86dc94dfd145beace6c0d22eafdd0a0d1f (diff)
parent70e48b12e9ed06cc500061b9026aac9ea598a1e8 (diff)
downloadrust-19ba908ac082ae15b96ff3fd65b367a5bae176a0.tar.gz
rust-19ba908ac082ae15b96ff3fd65b367a5bae176a0.zip
Rollup merge of #42531 - mmatyas:aarch64_compile-test_fix, r=nagisa
Ignore variadic FFI test on AArch64

I've cross compiled Rust to `aarch64-linux-gnu`, and tried to run the compile-fail tests, but `variadic-ffi.rs` fails with the following error:

```
The ABI `"stdcall"` is not supported for the current target [E0570]
```

The test seems to be ignored on (32-bit) ARM, so I turned it off for AArch64 too.
-rw-r--r--src/test/compile-fail/variadic-ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/variadic-ffi.rs b/src/test/compile-fail/variadic-ffi.rs
index 125177efc53..f245306f4d8 100644
--- a/src/test/compile-fail/variadic-ffi.rs
+++ b/src/test/compile-fail/variadic-ffi.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // ignore-arm stdcall isn't suppported
+// ignore-aarch64 stdcall isn't suppported
 
 extern "stdcall" {
     fn printf(_: *const u8, ...); //~ ERROR: variadic function must have C or cdecl calling