@@ -150,6 +150,15 @@ error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current
150150LL | extern "C-cmse-nonsecure-entry" {}
151151 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
152152
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+
153162error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
154163 --> $DIR/unsupported.rs:36:1
155164 |
@@ -216,7 +225,7 @@ error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current
216225LL | extern "C-cmse-nonsecure-entry" fn cmse_entry() {}
217226 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
218227
219- error: aborting due to 15 previous errors; 14 warnings emitted
228+ error: aborting due to 15 previous errors; 15 warnings emitted
220229
221230For more information about this error, try `rustc --explain E0570`.
222231Future incompatibility report: Future breakage diagnostic:
@@ -351,6 +360,17 @@ LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
351360 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
352361 = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default
353362
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+
354374Future breakage diagnostic:
355375warning: use of calling convention not supported on this target
356376 --> $DIR/unsupported.rs:176:1
0 commit comments