1
1
warning: the calling convention "ptx-kernel" is not supported on this target
2
- --> $DIR/unsupported.rs:35 :15
2
+ --> $DIR/unsupported.rs:36 :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:40 :1
12
+ --> $DIR/unsupported.rs:41 :1
13
13
|
14
14
LL | extern "ptx-kernel" {}
15
15
| ^^^^^^^^^^^^^^^^^^^^^^
16
16
17
17
warning: the calling convention "aapcs" is not supported on this target
18
- --> $DIR/unsupported.rs:49 :17
18
+ --> $DIR/unsupported.rs:52 :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:62 :1
27
+ --> $DIR/unsupported.rs:65 :1
28
28
|
29
29
LL | extern "aapcs" {}
30
30
| ^^^^^^^^^^^^^^^^^
31
31
32
32
warning: the calling convention "msp430-interrupt" is not supported on this target
33
- --> $DIR/unsupported.rs:71 :18
33
+ --> $DIR/unsupported.rs:74 :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:76 :1
42
+ --> $DIR/unsupported.rs:79 :1
43
43
|
44
44
LL | extern "msp430-interrupt" {}
45
45
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46
46
47
47
warning: the calling convention "avr-interrupt" is not supported on this target
48
- --> $DIR/unsupported.rs:81 :15
48
+ --> $DIR/unsupported.rs:84 :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:86 :1
57
+ --> $DIR/unsupported.rs:89 :1
58
58
|
59
59
LL | extern "avr-interrupt" {}
60
60
| ^^^^^^^^^^^^^^^^^^^^^^^^^
61
61
62
62
warning: the calling convention "riscv-interrupt-m" is not supported on this target
63
- --> $DIR/unsupported.rs:94 :17
63
+ --> $DIR/unsupported.rs:97 :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:105 :1
72
+ --> $DIR/unsupported.rs:108 :1
73
73
|
74
74
LL | extern "riscv-interrupt-m" {}
75
75
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
76
76
77
77
warning: the calling convention "x86-interrupt" is not supported on this target
78
- --> $DIR/unsupported.rs:116 :15
78
+ --> $DIR/unsupported.rs:119 :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:127 :1
87
+ --> $DIR/unsupported.rs:130 :1
88
88
|
89
89
LL | extern "x86-interrupt" {}
90
90
| ^^^^^^^^^^^^^^^^^^^^^^^^^
91
91
92
92
warning: the calling convention "thiscall" is not supported on this target
93
- --> $DIR/unsupported.rs:139 :20
93
+ --> $DIR/unsupported.rs:142 :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:152 :1
102
+ --> $DIR/unsupported.rs:155 :1
103
103
|
104
104
LL | extern "thiscall" {}
105
105
| ^^^^^^^^^^^^^^^^^^^^
106
106
107
107
warning: the calling convention "stdcall" is not supported on this target
108
- --> $DIR/unsupported.rs:165 :19
108
+ --> $DIR/unsupported.rs:168 :19
109
109
|
110
110
LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
111
111
| ^^^^^^^^^^^^^^^^^^^^^
@@ -114,13 +114,13 @@ 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
error[E0570]: `"stdcall"` is not a supported ABI for the current target
117
- --> $DIR/unsupported.rs:178 :1
117
+ --> $DIR/unsupported.rs:181 :1
118
118
|
119
119
LL | extern "stdcall" {}
120
120
| ^^^^^^^^^^^^^^^^^^^
121
121
122
122
warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
123
- --> $DIR/unsupported.rs:185 :21
123
+ --> $DIR/unsupported.rs:188 :21
124
124
|
125
125
LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
126
126
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -129,7 +129,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
129
129
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
130
130
131
131
warning: the calling convention "C-cmse-nonsecure-entry" is not supported on this target
132
- --> $DIR/unsupported.rs:193 :22
132
+ --> $DIR/unsupported.rs:196 :22
133
133
|
134
134
LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
135
135
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -138,65 +138,71 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
138
138
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
139
139
140
140
error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
141
- --> $DIR/unsupported.rs:198 :1
141
+ --> $DIR/unsupported.rs:201 :1
142
142
|
143
143
LL | extern "C-cmse-nonsecure-entry" {}
144
144
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
145
145
146
146
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
147
- --> $DIR/unsupported.rs:33 :1
147
+ --> $DIR/unsupported.rs:34 :1
148
148
|
149
149
LL | extern "ptx-kernel" fn ptx() {}
150
150
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
151
151
152
- error[E0570]: `"aapcs "` is not a supported ABI for the current target
152
+ error[E0570]: `"gpu-kernel "` is not a supported ABI for the current target
153
153
--> $DIR/unsupported.rs:43:1
154
154
|
155
+ LL | extern "gpu-kernel" fn gpu() {}
156
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
157
+
158
+ error[E0570]: `"aapcs"` is not a supported ABI for the current target
159
+ --> $DIR/unsupported.rs:46:1
160
+ |
155
161
LL | extern "aapcs" fn aapcs() {}
156
162
| ^^^^^^^^^^^^^^^^^^^^^^^^^
157
163
158
164
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
159
- --> $DIR/unsupported.rs:69 :1
165
+ --> $DIR/unsupported.rs:72 :1
160
166
|
161
167
LL | extern "msp430-interrupt" fn msp430() {}
162
168
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
163
169
164
170
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
165
- --> $DIR/unsupported.rs:79 :1
171
+ --> $DIR/unsupported.rs:82 :1
166
172
|
167
173
LL | extern "avr-interrupt" fn avr() {}
168
174
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
169
175
170
176
error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current target
171
- --> $DIR/unsupported.rs:89 :1
177
+ --> $DIR/unsupported.rs:92 :1
172
178
|
173
179
LL | extern "riscv-interrupt-m" fn riscv() {}
174
180
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
175
181
176
182
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
177
- --> $DIR/unsupported.rs:111 :1
183
+ --> $DIR/unsupported.rs:114 :1
178
184
|
179
185
LL | extern "x86-interrupt" fn x86() {}
180
186
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
181
187
182
188
error[E0570]: `"thiscall"` is not a supported ABI for the current target
183
- --> $DIR/unsupported.rs:133 :1
189
+ --> $DIR/unsupported.rs:136 :1
184
190
|
185
191
LL | extern "thiscall" fn thiscall() {}
186
192
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
187
193
188
194
error[E0570]: `"stdcall"` is not a supported ABI for the current target
189
- --> $DIR/unsupported.rs:159 :1
195
+ --> $DIR/unsupported.rs:162 :1
190
196
|
191
197
LL | extern "stdcall" fn stdcall() {}
192
198
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
193
199
194
200
error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
195
- --> $DIR/unsupported.rs:191 :1
201
+ --> $DIR/unsupported.rs:194 :1
196
202
|
197
203
LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
198
204
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
199
205
200
- error: aborting due to 18 previous errors; 10 warnings emitted
206
+ error: aborting due to 19 previous errors; 10 warnings emitted
201
207
202
208
For more information about this error, try `rustc --explain E0570`.
0 commit comments