]> git.lizzy.rs Git - rust.git/blob - src/test/ui/abi/unsupported.arm.stderr
Rollup merge of #92899 - cameron1024:zip-docs, r=dtolnay
[rust.git] / src / test / ui / abi / unsupported.arm.stderr
1 error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
2   --> $DIR/unsupported.rs:26:1
3    |
4 LL | extern "ptx-kernel" fn ptx() {}
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
8   --> $DIR/unsupported.rs:28:1
9    |
10 LL | extern "amdgpu-kernel" fn amdgpu() {}
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error[E0570]: `"wasm"` is not a supported ABI for the current target
14   --> $DIR/unsupported.rs:30:1
15    |
16 LL | extern "wasm" fn wasm() {}
17    | ^^^^^^^^^^^^^^^^^^^^^^^
18
19 error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
20   --> $DIR/unsupported.rs:36:1
21    |
22 LL | extern "msp430-interrupt" fn msp430() {}
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24
25 error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
26   --> $DIR/unsupported.rs:38:1
27    |
28 LL | extern "avr-interrupt" fn avr() {}
29    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
30
31 error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
32   --> $DIR/unsupported.rs:40:1
33    |
34 LL | extern "x86-interrupt" fn x86() {}
35    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
36
37 error[E0570]: `"thiscall"` is not a supported ABI for the current target
38   --> $DIR/unsupported.rs:43:1
39    |
40 LL | extern "thiscall" fn thiscall() {}
41    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
42
43 warning: use of calling convention not supported on this target
44   --> $DIR/unsupported.rs:47:1
45    |
46 LL | extern "stdcall" fn stdcall() {}
47    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48    |
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>
52
53 error: aborting due to 7 previous errors; 1 warning emitted
54
55 For more information about this error, try `rustc --explain E0570`.