|
| 1 | +warning: use of calling convention not supported on this target on function pointer |
| 2 | + --> $DIR/unsupported.rs:35: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:40: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:49: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:62: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:71: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:76: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:81: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:86: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:94: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:105: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:116: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:127: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:139: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:152: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:170: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:183: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:195:21 |
| 128 | + | |
| 129 | +LL | fn cmse_call_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 | +warning: use of calling convention not supported on this target on function pointer |
| 136 | + --> $DIR/unsupported.rs:203:22 |
| 137 | + | |
| 138 | +LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) { |
| 139 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 140 | + | |
| 141 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 142 | + = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260> |
| 143 | + |
| 144 | +error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target |
| 145 | + --> $DIR/unsupported.rs:208:1 |
| 146 | + | |
| 147 | +LL | extern "C-cmse-nonsecure-entry" {} |
| 148 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 149 | + |
| 150 | +error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target |
| 151 | + --> $DIR/unsupported.rs:33:1 |
3 | 152 | |
|
4 | 153 | LL | extern "ptx-kernel" fn ptx() {}
|
5 | 154 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
6 | 155 |
|
7 | 156 | error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
8 |
| - --> $DIR/unsupported.rs:30:1 |
| 157 | + --> $DIR/unsupported.rs:43:1 |
9 | 158 | |
|
10 | 159 | LL | extern "aapcs" fn aapcs() {}
|
11 | 160 | | ^^^^^^^^^^^^^^^^^^^^^^^^^
|
12 | 161 |
|
13 | 162 | error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
14 |
| - --> $DIR/unsupported.rs:36:1 |
| 163 | + --> $DIR/unsupported.rs:69:1 |
15 | 164 | |
|
16 | 165 | LL | extern "msp430-interrupt" fn msp430() {}
|
17 | 166 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
18 | 167 |
|
19 | 168 | error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
20 |
| - --> $DIR/unsupported.rs:38:1 |
| 169 | + --> $DIR/unsupported.rs:79:1 |
21 | 170 | |
|
22 | 171 | LL | extern "avr-interrupt" fn avr() {}
|
23 | 172 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
24 | 173 |
|
25 | 174 | error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
|
26 |
| - --> $DIR/unsupported.rs:40:1 |
| 175 | + --> $DIR/unsupported.rs:89:1 |
27 | 176 | |
|
28 | 177 | LL | extern "riscv-interrupt-m" fn riscv() {}
|
29 | 178 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
30 | 179 |
|
31 | 180 | error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
|
32 |
| - --> $DIR/unsupported.rs:45:1 |
| 181 | + --> $DIR/unsupported.rs:111:1 |
33 | 182 | |
|
34 | 183 | LL | extern "x86-interrupt" fn x86() {}
|
35 | 184 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
36 | 185 |
|
37 | 186 | error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
38 |
| - --> $DIR/unsupported.rs:50:1 |
| 187 | + --> $DIR/unsupported.rs:133:1 |
39 | 188 | |
|
40 | 189 | LL | extern "thiscall" fn thiscall() {}
|
41 | 190 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
42 | 191 |
|
43 | 192 | warning: use of calling convention not supported on this target
|
44 |
| - --> $DIR/unsupported.rs:56:1 |
| 193 | + --> $DIR/unsupported.rs:159:1 |
45 | 194 | |
|
46 | 195 | LL | extern "stdcall" fn stdcall() {}
|
47 | 196 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
48 | 197 | |
|
49 | 198 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
50 | 199 | = 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 | 200 |
|
53 |
| -error: aborting due to 7 previous errors; 1 warning emitted |
| 201 | +error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target |
| 202 | + --> $DIR/unsupported.rs:201:1 |
| 203 | + | |
| 204 | +LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {} |
| 205 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 206 | + |
| 207 | +error: aborting due to 16 previous errors; 12 warnings emitted |
54 | 208 |
|
55 | 209 | For more information about this error, try `rustc --explain E0570`.
|
0 commit comments