|
| 1 | +warning: use of calling convention not supported on this target |
| 2 | + --> $DIR/unsupported-abi.rs:5:1 |
| 3 | + | |
| 4 | +LL | / extern "stdcall" { |
| 5 | +LL | | fn f(x: i32); |
| 6 | +LL | | //~^ ERROR ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture |
| 7 | +LL | | } |
| 8 | + | |_^ |
| 9 | + | |
| 10 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 11 | + = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018> |
| 12 | + = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` |
| 13 | + = note: `#[warn(unsupported_calling_conventions)]` on by default |
| 14 | + |
1 | 15 | error: ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture
|
2 |
| - --> $DIR/unsupported-abi.rs:6:5 |
| 16 | + --> $DIR/unsupported-abi.rs:8:5 |
3 | 17 | |
|
4 | 18 | LL | fn f(x: i32);
|
5 | 19 | | ^^^^^^^^^^^^^
|
6 | 20 |
|
7 |
| -error: aborting due to 1 previous error |
| 21 | +error: aborting due to 1 previous error; 1 warning emitted |
8 | 22 |
|
| 23 | +Future incompatibility report: Future breakage diagnostic: |
| 24 | +warning: use of calling convention not supported on this target |
| 25 | + --> $DIR/unsupported-abi.rs:5:1 |
| 26 | + | |
| 27 | +LL | / extern "stdcall" { |
| 28 | +LL | | fn f(x: i32); |
| 29 | +LL | | //~^ ERROR ABI not supported by `#[link(kind = "raw-dylib")]` on this architecture |
| 30 | +LL | | } |
| 31 | + | |_^ |
| 32 | + | |
| 33 | + = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! |
| 34 | + = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018> |
| 35 | + = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"` |
| 36 | + = note: `#[warn(unsupported_calling_conventions)]` on by default |
0 commit comments