-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This never really worked and makes LLVM assert.
- Loading branch information
Showing
6 changed files
with
101 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target | ||
--> $DIR/unsupported.rs:26:1 | ||
| | ||
LL | extern "ptx-kernel" fn ptx() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0570]: `"amdgpu-kernel"` is not a supported ABI for the current target | ||
--> $DIR/unsupported.rs:28:1 | ||
| | ||
LL | extern "amdgpu-kernel" fn amdgpu() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0570]: `"wasm"` is not a supported ABI for the current target | ||
--> $DIR/unsupported.rs:30:1 | ||
| | ||
LL | extern "wasm" fn wasm() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0570]: `"msp430-interrupt"` is not a supported ABI for the current target | ||
--> $DIR/unsupported.rs:36:1 | ||
| | ||
LL | extern "msp430-interrupt" fn msp430() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0570]: `"avr-interrupt"` is not a supported ABI for the current target | ||
--> $DIR/unsupported.rs:38:1 | ||
| | ||
LL | extern "avr-interrupt" fn avr() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
error[E0570]: `"x86-interrupt"` is not a supported ABI for the current target | ||
--> $DIR/unsupported.rs:40:1 | ||
| | ||
LL | extern "x86-interrupt" fn x86() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
warning: use of calling convention not supported on this target | ||
--> $DIR/unsupported.rs:43:1 | ||
| | ||
LL | extern "stdcall" fn stdcall() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= note: `#[warn(unsupported_calling_conventions)]` on by default | ||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | ||
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678> | ||
|
||
warning: use of calling convention not supported on this target | ||
--> $DIR/unsupported.rs:50:1 | ||
| | ||
LL | extern "thiscall" fn thiscall() {} | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | ||
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | ||
= note: for more information, see issue #87678 <https://github.com/rust-lang/rust/issues/87678> | ||
|
||
error: aborting due to 6 previous errors; 2 warnings emitted | ||
|
||
For more information about this error, try `rustc --explain E0570`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters