1- warning: use of calling convention not supported on this target on function pointer
1+ warning: the calling convention `"ptx-kernel"` is not supported on this target
22 --> $DIR/unsupported.rs:35:15
33 |
44LL | fn ptx_ptr(f: extern "ptx-kernel" fn()) {
@@ -14,7 +14,7 @@ error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
1414LL | extern "ptx-kernel" {}
1515 | ^^^^^^^^^^^^^^^^^^^^^^
1616
17- warning: use of calling convention not supported on this target on function pointer
17+ warning: the calling convention `"aapcs"` is not supported on this target
1818 --> $DIR/unsupported.rs:49:17
1919 |
2020LL | fn aapcs_ptr(f: extern "aapcs" fn()) {
@@ -29,7 +29,7 @@ error[E0570]: `"aapcs"` is not a supported ABI for the current target
2929LL | extern "aapcs" {}
3030 | ^^^^^^^^^^^^^^^^^
3131
32- warning: use of calling convention not supported on this target on function pointer
32+ warning: the calling convention `"msp430-interrupt"` is not supported on this target
3333 --> $DIR/unsupported.rs:71:18
3434 |
3535LL | fn msp430_ptr(f: extern "msp430-interrupt" fn()) {
@@ -44,7 +44,7 @@ error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
4444LL | extern "msp430-interrupt" {}
4545 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4646
47- warning: use of calling convention not supported on this target on function pointer
47+ warning: the calling convention `"avr-interrupt"` is not supported on this target
4848 --> $DIR/unsupported.rs:81:15
4949 |
5050LL | fn avr_ptr(f: extern "avr-interrupt" fn()) {
@@ -59,7 +59,7 @@ error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
5959LL | extern "avr-interrupt" {}
6060 | ^^^^^^^^^^^^^^^^^^^^^^^^^
6161
62- warning: use of calling convention not supported on this target on function pointer
62+ warning: the calling convention `"riscv-interrupt-m"` is not supported on this target
6363 --> $DIR/unsupported.rs:94:17
6464 |
6565LL | fn riscv_ptr(f: extern "riscv-interrupt-m" fn()) {
@@ -74,7 +74,7 @@ error[E0570]: `"riscv-interrupt-m"` is not a supported ABI for the current targe
7474LL | extern "riscv-interrupt-m" {}
7575 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7676
77- warning: use of calling convention not supported on this target on function pointer
77+ warning: the calling convention `"x86-interrupt"` is not supported on this target
7878 --> $DIR/unsupported.rs:116:15
7979 |
8080LL | fn x86_ptr(f: extern "x86-interrupt" fn()) {
@@ -89,7 +89,7 @@ error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target
8989LL | extern "x86-interrupt" {}
9090 | ^^^^^^^^^^^^^^^^^^^^^^^^^
9191
92- warning: use of calling convention not supported on this target on function pointer
92+ warning: the calling convention `"thiscall"` is not supported on this target
9393 --> $DIR/unsupported.rs:139:20
9494 |
9595LL | fn thiscall_ptr(f: extern "thiscall" fn()) {
@@ -104,7 +104,7 @@ error[E0570]: `"thiscall"` is not a supported ABI for the current target
104104LL | extern "thiscall" {}
105105 | ^^^^^^^^^^^^^^^^^^^^
106106
107- warning: use of calling convention not supported on this target on function pointer
107+ warning: the calling convention `"stdcall"` is not supported on this target
108108 --> $DIR/unsupported.rs:170:19
109109 |
110110LL | fn stdcall_ptr(f: extern "stdcall" fn()) {
@@ -123,7 +123,7 @@ LL | extern "stdcall" {}
123123 = note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
124124 = note: `#[warn(unsupported_calling_conventions)]` on by default
125125
126- warning: use of calling convention not supported on this target on function pointer
126+ warning: the calling convention `"C-cmse-nonsecure-call"` is not supported on this target
127127 --> $DIR/unsupported.rs:195:21
128128 |
129129LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
@@ -132,7 +132,7 @@ LL | fn cmse_call_ptr(f: extern "C-cmse-nonsecure-call" fn()) {
132132 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
133133 = note: for more information, see issue #130260 <https://github.com/rust-lang/rust/issues/130260>
134134
135- warning: use of calling convention not supported on this target on function pointer
135+ warning: the calling convention `"C-cmse-nonsecure-entry"` is not supported on this target
136136 --> $DIR/unsupported.rs:203:22
137137 |
138138LL | fn cmse_entry_ptr(f: extern "C-cmse-nonsecure-entry" fn()) {
0 commit comments