rust/tests
bors b6685d748f Auto merge of #141435 - RalfJung:unsupported_calling_conventions, r=workingjubilee
Add (back) `unsupported_calling_conventions` lint to reject more invalid calling conventions

This adds back the `unsupported_calling_conventions` lint that was removed in https://github.com/rust-lang/rust/pull/129935, in order to start the process of dealing with https://github.com/rust-lang/rust/issues/137018. Specifically, we are going for the plan laid out [here](https://github.com/rust-lang/rust/issues/137018#issuecomment-2672118326):
- thiscall, stdcall, fastcall, cdecl should only be accepted on x86-32
- vectorcall should only be accepted on x86-32 and x86-64

The difference to the status quo is that:
- We stop accepting stdcall, fastcall on targets that are windows && non-x86-32 (we already don't accept these on targets that are non-windows && non-x86-32)
- We stop accepting cdecl on targets that are non-x86-32
- (There is no difference for thiscall, this was already a hard error on non-x86-32)
- We stop accepting vectorcall on targets that are windows && non-x86-*

Vectorcall is an unstable ABI so we can just make this a hard error immediately. The others are stable, so we emit the `unsupported_calling_conventions` forward-compat lint. I set up the lint to show up in dependencies via cargo's future-compat report immediately, but we could also make it show up just for the local crate first if that is preferred.

try-job: i686-msvc-1
try-job: x86_64-msvc-1
try-job: test-various
2025-06-09 05:21:49 +00:00
..
assembly Add new Tier-3 targets: loongarch32-unknown-none* 2025-06-06 08:19:38 +08:00
auxiliary stabilize naked_functions 2025-04-20 11:18:38 +02:00
codegen x86 (32/64): go back to passing SIMD vectors by-ptr 2025-06-04 08:38:49 +02:00
codegen-units Remove mono item collection strategy override from -Zprint-mono-items 2025-05-09 12:19:09 +02:00
coverage coverage: Revert "unused local file IDs" due to empty function names 2025-05-27 23:33:29 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes Auto merge of #142074 - oli-obk:its-finally-gone, r=petrochenkov 2025-06-08 02:04:41 +00:00
debuginfo Rollup merge of #138285 - beetrees:repr128-stable, r=traviscross,bjorn3 2025-05-29 04:50:46 +02:00
incremental Add a test to reproduce ICE 2025-06-03 20:56:45 +00:00
mir-opt Auto merge of #139118 - scottmcm:slice-get-unchecked-intrinsic, r=workingjubilee 2025-05-31 21:38:21 +00:00
pretty Update generic tests 2025-05-21 07:24:43 +00:00
run-make Auto merge of #141700 - RalfJung:atomic-intrinsics-part2, r=bjorn3 2025-06-08 20:17:28 +00:00
rustdoc Support middle::ty assoc const eq predicates again 2025-06-05 19:19:18 +02:00
rustdoc-gui Rollup merge of #139831 - lolbinarycat:rustdoc-mobile-sidebar, r=GuillaumeGomez 2025-05-25 04:00:55 +02:00
rustdoc-js yeet CanonicalVarInfo 2025-05-23 12:10:53 +00:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json Stabilise repr128 2025-05-28 15:14:34 +01:00
rustdoc-ui Auto merge of #142008 - RalfJung:const-eval-error-here, r=oli-obk 2025-06-08 23:18:34 +00:00
ui Auto merge of #141435 - RalfJung:unsupported_calling_conventions, r=workingjubilee 2025-06-09 05:21:49 +00:00
ui-fulldeps remove visit_clobber and move DummyAstNode to rustc_expand 2025-05-29 12:46:26 +08:00
COMPILER_TESTS.md