@@ -150,6 +150,15 @@ error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current
150
150
LL | extern "C-cmse-nonsecure-entry" {}
151
151
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152
152
153
+ warning: use of calling convention not supported on this target
154
+ --> $DIR/unsupported.rs:290:1
155
+ |
156
+ LL | extern "cdecl" {}
157
+ | ^^^^^^^^^^^^^^^^^
158
+ |
159
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
160
+ = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
161
+
153
162
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
154
163
--> $DIR/unsupported.rs:36:1
155
164
|
@@ -216,7 +225,7 @@ error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current
216
225
LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
217
226
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
218
227
219
- error: aborting due to 15 previous errors; 14 warnings emitted
228
+ error: aborting due to 15 previous errors; 15 warnings emitted
220
229
221
230
For more information about this error, try `rustc --explain E0570`.
222
231
Future incompatibility report: Future breakage diagnostic:
@@ -351,6 +360,17 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
351
360
= note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
352
361
= note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
353
362
363
+ Future breakage diagnostic:
364
+ warning: use of calling convention not supported on this target
365
+ --> $DIR/unsupported.rs:290:1
366
+ |
367
+ LL | extern "cdecl" {}
368
+ | ^^^^^^^^^^^^^^^^^
369
+ |
370
+ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
371
+ = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
372
+ = note: `#[warn(unsupported_calling_conventions)]` on by default
373
+
354
374
Future breakage diagnostic:
355
375
warning: use of calling convention not supported on this target
356
376
--> $DIR/unsupported.rs:176:1
0 commit comments