Skip to content

Commit

Permalink
Rollup merge of #42531 - mmatyas:aarch64_compile-test_fix, r=nagisa
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
frewsxcv committed Jun 8, 2017
2 parents 215e2b8 + 70e48b1 commit d80ac82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/test/compile-fail/variadic-ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d80ac82

Please sign in to comment.