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