1 error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
2 --> $DIR/unsupported.rs:24:1
4 LL | extern "ptx-kernel" fn ptx() {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
8 --> $DIR/unsupported.rs:26:1
10 LL | extern "amdgpu-kernel" fn amdgpu() {}
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error[E0570]: `"wasm"` is not a supported ABI for the current target
14 --> $DIR/unsupported.rs:28:1
16 LL | extern "wasm" fn wasm() {}
17 | ^^^^^^^^^^^^^^^^^^^^^^^
19 error[E0570]: `"aapcs"` is not a supported ABI for the current target
20 --> $DIR/unsupported.rs:30:1
22 LL | extern "aapcs" fn aapcs() {}
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^
25 error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
26 --> $DIR/unsupported.rs:33:1
28 LL | extern "msp430-interrupt" fn msp430() {}
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
32 --> $DIR/unsupported.rs:35:1
34 LL | extern "avr-interrupt" fn avr() {}
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 warning: use of calling convention not supported on this target
38 --> $DIR/unsupported.rs:39:1
40 LL | extern "stdcall" fn stdcall() {}
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 = note: `#[warn(unsupported_calling_conventions)]` on by default
44 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
45 = note: for more information, see issue #00000 <https://github.com/rust-lang/rust/issues/00000>
47 warning: use of calling convention not supported on this target
48 --> $DIR/unsupported.rs:44:1
50 LL | extern "thiscall" fn thiscall() {}
51 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
53 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
54 = note: for more information, see issue #00000 <https://github.com/rust-lang/rust/issues/00000>
56 error: aborting due to 6 previous errors; 2 warnings emitted
58 For more information about this error, try `rustc --explain E0570`.