|
| 1 | +warning: use of calling convention not supported on this target on function pointer |
| 2 | + --> $DIR/unsupported.rs:34:15 |
| 3 | + | |
| 4 | +LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) { |
| 5 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 8 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 9 | + = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default |
| 10 | + |
1 | 11 | error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
2 |
| - --> $DIR/unsupported.rs:28:1 |
| 12 | + --> $DIR/unsupported.rs:39:1 |
| 13 | + | |
| 14 | +LL | extern "ptx-kernel" {} |
| 15 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 16 | + |
| 17 | +warning: use of calling convention not supported on this target on function pointer |
| 18 | + --> $DIR/unsupported.rs:48:17 |
| 19 | + | |
| 20 | +LL | fn aapcs_ptr(f: extern "aapcs" fn()) { |
| 21 | + | ^^^^^^^^^^^^^^^^^^^ |
| 22 | + | |
| 23 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 24 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 25 | + |
| 26 | +error[E0570]: `"aapcs"` is not a supported ABI for the current target |
| 27 | + --> $DIR/unsupported.rs:61:1 |
| 28 | + | |
| 29 | +LL | extern "aapcs" {} |
| 30 | + | ^^^^^^^^^^^^^^^^^ |
| 31 | + |
| 32 | +warning: use of calling convention not supported on this target on function pointer |
| 33 | + --> $DIR/unsupported.rs:70:18 |
| 34 | + | |
| 35 | +LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) { |
| 36 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 37 | + | |
| 38 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 39 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 40 | + |
| 41 | +error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target |
| 42 | + --> $DIR/unsupported.rs:75:1 |
| 43 | + | |
| 44 | +LL | extern "msp430-interrupt" {} |
| 45 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 46 | + |
| 47 | +warning: use of calling convention not supported on this target on function pointer |
| 48 | + --> $DIR/unsupported.rs:80:15 |
| 49 | + | |
| 50 | +LL | fn avr_ptr(f: extern "avr-interrupt" fn()) { |
| 51 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 52 | + | |
| 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 #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 55 | + |
| 56 | +error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target |
| 57 | + --> $DIR/unsupported.rs:85:1 |
| 58 | + | |
| 59 | +LL | extern "avr-interrupt" {} |
| 60 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 61 | + |
| 62 | +warning: use of calling convention not supported on this target on function pointer |
| 63 | + --> $DIR/unsupported.rs:93:17 |
| 64 | + | |
| 65 | +LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) { |
| 66 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 67 | + | |
| 68 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 69 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 70 | + |
| 71 | +error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target |
| 72 | + --> $DIR/unsupported.rs:104:1 |
| 73 | + | |
| 74 | +LL | extern "riscv-interrupt-m" {} |
| 75 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 76 | + |
| 77 | +warning: use of calling convention not supported on this target on function pointer |
| 78 | + --> $DIR/unsupported.rs:115:15 |
| 79 | + | |
| 80 | +LL | fn x86_ptr(f: extern "x86-interrupt" fn()) { |
| 81 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 82 | + | |
| 83 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 84 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 85 | + |
| 86 | +error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target |
| 87 | + --> $DIR/unsupported.rs:126:1 |
| 88 | + | |
| 89 | +LL | extern "x86-interrupt" {} |
| 90 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 91 | + |
| 92 | +warning: use of calling convention not supported on this target on function pointer |
| 93 | + --> $DIR/unsupported.rs:138:20 |
| 94 | + | |
| 95 | +LL | fn thiscall_ptr(f: extern "thiscall" fn()) { |
| 96 | + | ^^^^^^^^^^^^^^^^^^^^^^ |
| 97 | + | |
| 98 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 99 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 100 | + |
| 101 | +error[E0570]: `"thiscall"` is not a supported ABI for the current target |
| 102 | + --> $DIR/unsupported.rs:151:1 |
| 103 | + | |
| 104 | +LL | extern "thiscall" {} |
| 105 | + | ^^^^^^^^^^^^^^^^^^^^ |
| 106 | + |
| 107 | +warning: use of calling convention not supported on this target on function pointer |
| 108 | + --> $DIR/unsupported.rs:169:19 |
| 109 | + | |
| 110 | +LL | fn stdcall_ptr(f: extern "stdcall" fn()) { |
| 111 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 112 | + | |
| 113 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 114 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 115 | + |
| 116 | +warning: use of calling convention not supported on this target |
| 117 | + --> $DIR/unsupported.rs:182:1 |
| 118 | + | |
| 119 | +LL | extern "stdcall" {} |
| 120 | + | ^^^^^^^^^^^^^^^^^^^ |
| 121 | + | |
| 122 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 123 | + = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678> |
| 124 | + = note: `#[warn(unsupported_calling_conventions)]` on by default |
| 125 | + |
| 126 | +warning: use of calling convention not supported on this target on function pointer |
| 127 | + --> $DIR/unsupported.rs:194:16 |
| 128 | + | |
| 129 | +LL | fn cmse_ptr(f: extern "C-cmse-nonsecure-call" fn()) { |
| 130 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 131 | + | |
| 132 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 133 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 134 | + |
| 135 | +error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target |
| 136 | + --> $DIR/unsupported.rs:32:1 |
3 | 137 | |
|
4 | 138 | LL | extern "ptx-kernel" fn ptx() {}
|
5 | 139 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
6 | 140 |
|
7 | 141 | error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
8 |
| - --> $DIR/unsupported.rs:30:1 |
| 142 | + --> $DIR/unsupported.rs:42:1 |
9 | 143 | |
|
10 | 144 | LL | extern "aapcs" fn aapcs() {}
|
11 | 145 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
12 | 146 |
|
13 | 147 | error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
14 |
| - --> $DIR/unsupported.rs:36:1 |
| 148 | + --> $DIR/unsupported.rs:68:1 |
15 | 149 | |
|
16 | 150 | LL | extern "msp430-interrupt" fn msp430() {}
|
17 | 151 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
18 | 152 |
|
19 | 153 | error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
20 |
| - --> $DIR/unsupported.rs:38:1 |
| 154 | + --> $DIR/unsupported.rs:78:1 |
21 | 155 | |
|
22 | 156 | LL | extern "avr-interrupt" fn avr() {}
|
23 | 157 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
24 | 158 |
|
25 | 159 | error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
26 |
| - --> $DIR/unsupported.rs:40:1 |
| 160 | + --> $DIR/unsupported.rs:88:1 |
27 | 161 | |
|
28 | 162 | LL | extern "riscv-interrupt-m" fn riscv() {}
|
29 | 163 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
30 | 164 |
|
31 | 165 | error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
32 |
| - --> $DIR/unsupported.rs:45:1 |
| 166 | + --> $DIR/unsupported.rs:110:1 |
33 | 167 | |
|
34 | 168 | LL | extern "x86-interrupt" fn x86() {}
|
35 | 169 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
36 | 170 |
|
37 | 171 | error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
38 |
| - --> $DIR/unsupported.rs:50:1 |
| 172 | + --> $DIR/unsupported.rs:132:1 |
39 | 173 | |
|
40 | 174 | LL | extern "thiscall" fn thiscall() {}
|
41 | 175 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
42 | 176 |
|
43 | 177 | warning: use of calling convention not supported on this target
|
44 |
| - --> $DIR/unsupported.rs:56:1 |
| 178 | + --> $DIR/unsupported.rs:158:1 |
45 | 179 | |
|
46 | 180 | LL | extern "stdcall" fn stdcall() {}
|
47 | 181 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
48 | 182 | |
|
49 | 183 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
50 | 184 | = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
51 |
| - = note: `#[warn(unsupported_calling_conventions)]` on by default |
52 | 185 |
|
53 |
| -error: aborting due to 7 previous errors; 1 warning emitted |
| 186 | +error: aborting due to 14 previous errors; 11 warnings emitted |
54 | 187 |
|
55 | 188 | For more information about this error, try `rustc --explain E0570`.
|
0 commit comments