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