2021-06-11 06:22:13 -05:00
|
|
|
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
|
2021-08-27 11:36:18 -05:00
|
|
|
--> $DIR/unsupported.rs:26:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
|
LL | extern "ptx-kernel" fn ptx() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target
|
2021-08-27 11:36:18 -05:00
|
|
|
--> $DIR/unsupported.rs:28:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
|
LL | extern "amdgpu-kernel" fn amdgpu() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0570]: `"wasm"` is not a supported ABI for the current target
|
2021-08-27 11:36:18 -05:00
|
|
|
--> $DIR/unsupported.rs:30:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
|
LL | extern "wasm" fn wasm() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0570]: `"aapcs"` is not a supported ABI for the current target
|
2021-08-27 11:36:18 -05:00
|
|
|
--> $DIR/unsupported.rs:32:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
|
LL | extern "aapcs" fn aapcs() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target
|
2021-08-27 11:36:18 -05:00
|
|
|
--> $DIR/unsupported.rs:36:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
|
LL | extern "msp430-interrupt" fn msp430() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target
|
2021-08-27 11:36:18 -05:00
|
|
|
--> $DIR/unsupported.rs:38:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
|
LL | extern "avr-interrupt" fn avr() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-10-24 13:57:45 -05:00
|
|
|
error[E0570]: `"thiscall"` is not a supported ABI for the current target
|
2021-08-27 11:36:18 -05:00
|
|
|
--> $DIR/unsupported.rs:43:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
2021-10-24 13:57:45 -05:00
|
|
|
LL | extern "thiscall" fn thiscall() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
warning: use of calling convention not supported on this target
|
2021-10-24 13:57:45 -05:00
|
|
|
--> $DIR/unsupported.rs:47:1
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
2021-10-24 13:57:45 -05:00
|
|
|
LL | extern "stdcall" fn stdcall() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
|
2021-08-27 11:27:45 -05:00
|
|
|
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678>
|
2022-09-18 10:55:36 -05:00
|
|
|
= note: `#[warn(unsupported_calling_conventions)]` on by default
|
2021-06-11 06:22:13 -05:00
|
|
|
|
2021-10-24 13:57:45 -05:00
|
|
|
error: aborting due to 7 previous errors; 1 warning emitted
|
2021-06-11 06:22:13 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0570`.
|