1 error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
2 --> $DIR/unsupported.rs:26: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:28: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:30: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:32: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:36: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:38:1
34 LL | extern "avr-interrupt" fn avr() {}
35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
37 error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
38 --> $DIR/unsupported.rs:40:1
40 LL | extern "x86-interrupt" fn x86() {}
41 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
43 warning: use of calling convention not supported on this target
44 --> $DIR/unsupported.rs:43:1
46 LL | extern "stdcall" fn stdcall() {}
47 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
49 = note: `#[warn(unsupported_calling_conventions)]` on by default
50 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
51 = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
53 warning: use of calling convention not supported on this target
54 --> $DIR/unsupported.rs:50:1
56 LL | extern "thiscall" fn thiscall() {}
57 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
60 = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
62 error: aborting due to 7 previous errors; 2 warnings emitted
64 For more information about this error, try `rustc --explain E0570`.