Skip to content

Commit d80ac82

Browse files
authored
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.
2 parents 215e2b8 + 70e48b1 commit d80ac82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/compile-fail/variadic-ffi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// except according to those terms.
1010

1111
// ignore-arm stdcall isn't suppported
12+
// ignore-aarch64 stdcall isn't suppported
1213

1314
extern "stdcall" {
1415
fn printf(_: *const u8, ...); //~ ERROR: variadic function must have C or cdecl calling

0 commit comments

Comments
 (0)