@@ -106,6 +106,7 @@ LL | extern "stdcall" {}
106106 |
107107 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
108108 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
109+ = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
109110 = note: `#[warn(unsupported_calling_conventions)]` on by default
110111
111112warning: the calling convention "cdecl" is not supported on this target
@@ -125,6 +126,7 @@ LL | extern "cdecl" {}
125126 |
126127 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
127128 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
129+ = help: use `extern "C"` instead
128130
129131warning: the calling convention "C-cmse-nonsecure-call" is not supported on this target
130132 --> $DIR/unsupported.rs:144:21
@@ -158,6 +160,7 @@ LL | extern "cdecl" {}
158160 |
159161 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
160162 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
163+ = help: use `extern "C"` instead
161164
162165error[E0570]: `"ptx-kernel"` is not a supported ABI for the current target
163166 --> $DIR/unsupported.rs:36:1
@@ -209,6 +212,7 @@ LL | extern "stdcall" fn stdcall() {}
209212 |
210213 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
211214 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
215+ = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
212216
213217warning: use of calling convention not supported on this target
214218 --> $DIR/unsupported.rs:122:1
@@ -218,6 +222,7 @@ LL | extern "cdecl" fn cdecl() {}
218222 |
219223 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
220224 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
225+ = help: use `extern "C"` instead
221226
222227error[E0570]: `"C-cmse-nonsecure-entry"` is not a supported ABI for the current target
223228 --> $DIR/unsupported.rs:150:1
@@ -314,6 +319,7 @@ LL | extern "stdcall" {}
314319 |
315320 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
316321 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
322+ = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
317323 = note: `#[warn(unsupported_calling_conventions)]` on by default
318324
319325Future breakage diagnostic:
@@ -336,6 +342,7 @@ LL | extern "cdecl" {}
336342 |
337343 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
338344 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
345+ = help: use `extern "C"` instead
339346 = note: `#[warn(unsupported_calling_conventions)]` on by default
340347
341348Future breakage diagnostic:
@@ -369,6 +376,7 @@ LL | extern "cdecl" {}
369376 |
370377 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
371378 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
379+ = help: use `extern "C"` instead
372380 = note: `#[warn(unsupported_calling_conventions)]` on by default
373381
374382Future breakage diagnostic:
@@ -380,6 +388,7 @@ LL | extern "stdcall" fn stdcall() {}
380388 |
381389 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
382390 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
391+ = help: if you need `extern "stdcall"` on win32 and `extern "C"` everywhere else, use `extern "system"`
383392 = note: `#[warn(unsupported_calling_conventions)]` on by default
384393
385394Future breakage diagnostic:
@@ -391,5 +400,6 @@ LL | extern "cdecl" fn cdecl() {}
391400 |
392401 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
393402 = note: for more information, see issue #137018 <https://github.com/rust-lang/rust/issues/137018>
403+ = help: use `extern "C"` instead
394404 = note: `#[warn(unsupported_calling_conventions)]` on by default
395405
0 commit comments