Skip to content

Commit 1422ac9

Browse files
committed
adapt tests
1 parent 9eb0fd9 commit 1422ac9

File tree

6 files changed

+14
-2
lines changed

6 files changed

+14
-2
lines changed

src/test/codegen/abi-sysv64.rs

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
// llvm. Also checks that the abi-sysv64 feature gate allows usage
1313
// of the sysv64 abi.
1414

15+
// ignore-arm
16+
// ignore-aarch64
17+
1518
// compile-flags: -C no-prepopulate-passes
1619

1720
#![crate_type = "lib"]

src/test/codegen/issue-32364.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-arm
12+
// ignore-aarch64
13+
1114
// compile-flags: -C no-prepopulate-passes
1215

1316
struct Foo;

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
fn baz(f: extern "stdcall" fn(usize, ...)) {
11+
fn baz(f: extern "cdecl" fn(usize, ...)) {
1212
//~^ ERROR: variadic function must have C calling convention
1313
f(22, 44);
1414
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
extern "stdcall" {
11+
extern "cdecl" {
1212
fn printf(_: *const u8, ...); //~ ERROR: variadic function must have C calling convention
1313
}
1414

src/test/run-pass/extern-methods.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-arm
12+
// ignore-aarch64
13+
1114
trait A {
1215
extern "fastcall" fn test1(i: i32);
1316
extern fn test2(i: i32);

src/test/run-pass/extern-vectorcall.rs

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-arm
12+
// ignore-aarch64
13+
1114
#![feature(abi_vectorcall)]
1215

1316
trait A {

0 commit comments

Comments
 (0)