rust/compiler/rustc_codegen_cranelift/example
bors c02a4f0852 Auto merge of #139309 - RalfJung:abi_unsupported_vector_types, r=fee1-dead,traviscross
make abi_unsupported_vector_types a hard error

Fixes https://github.com/rust-lang/rust/issues/116558 by completing the transition; see that issue for context. The lint was introduced with Rust 1.84 and this has been shown in cargo's future breakage reports since Rust 1.85, released 6 weeks ago, and so far we got 0 complaints by users. There's not even a backlink on the tracking issue. We did a [crater run](https://github.com/rust-lang/rust/pull/127731#issuecomment-2286736295) when the lint was originally added and found no breakage. So I don't think we need another crater run now, but I can do one if the team prefers that.

https://github.com/rust-lang/rust/issues/131800 is done, so for most current targets (in particular, all tier 1 and tier 2 targets) we have the information to implement this check (modulo the targets where we don't properly support SIMD vectors yet, see the sub-issues of https://github.com/rust-lang/rust/issues/116558). If a new target gets added in the future, it will default to reject all SIMD vector types until proper information is added, which is the default we want.

This will need approval by for `@rust-lang/lang.` Cc `@workingjubilee` `@veluca93`

try-job: test-various
try-job: armhf-gnu
try-job: dist-i586-gnu-i586-i686-musl
2025-04-24 00:44:40 +00:00
..
arbitrary_self_types_pointers_and_wrappers.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
dst-field-align.rs Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into sync_cg_clif-2023-04-29 2023-04-29 12:00:43 +00:00
example.rs Do intrinsic changes in rustc_codegen_cranelift 2024-04-19 18:45:25 +00:00
float-minmax-pass.rs Fix the examples in cg_clif 2024-09-09 19:39:43 -07:00
gen_block_iterate.rs Allow formatting example/gen_block_iterate.rs 2025-04-01 14:49:15 +00:00
issue-59326.rs Merge commit '1eded3619d0e55d57521a259bf27a03906fdfad0' into sync_cg_clif-2023-07-22 2023-07-22 13:32:34 +00:00
issue-72793.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
mini_core_hello_world.rs stabilize naked_functions 2025-04-20 11:18:38 +02:00
mini_core.rs intrinsics: remove unnecessary leading underscore from argument names 2025-03-12 08:04:09 +01:00
neon.rs Merge commit '6d35b4c9a04580366fd800692a5b5db79d766530' into sync_cg_clif-2024-09-22 2024-09-23 11:20:46 +00:00
raw-dylib.rs Merge commit '69b3f5a426a5c1c05236a45b36f6679d95fbe01b' into sync_cg_clif-2024-08-09 2024-08-09 17:18:46 +00:00
std_example.rs make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
subslice-patterns-const-eval.rs Merge commit 'ef07e8e60f994ec014d049a95591426fb92ebb79' into sync_cg_clif-2023-04-29 2023-04-29 12:00:43 +00:00
track-caller-attribute.rs Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff25d3dda92' 2020-10-26 09:53:27 +01:00