rust/tests/assembly
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
..
asm Create a generic AVR target: avr-none 2025-02-19 19:01:51 +01:00
auxiliary Stabilize -Zdwarf-version as -Cdwarf-version 2025-04-14 21:26:41 -05:00
compiletest-self-test tests/assembly: add minicore compiletest self-test 2024-10-31 18:20:11 +08:00
libs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
naked-functions stabilize naked_functions 2025-04-20 11:18:38 +02:00
nvptx-kernel-abi Restore previous ABI for f_single_u8_arg 2025-01-26 14:14:33 +00:00
sanitizer/kcfi KCFI: Add KCFI arity indicator support 2025-04-05 04:05:04 +00:00
simd tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
stack-protector Rollup merge of #137957 - Noratrieb:no, r=wesleywiser 2025-03-07 21:57:50 -05:00
targets Add minimal x86_64-lynx-lynxos178 support. 2025-04-10 13:37:49 +02:00
aarch64-pointer-auth.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
align_offset.rs Run rustfmt on tests/assembly/. 2024-05-30 16:15:46 +10:00
breakpoint.rs Add core::arch::breakpoint and test 2024-12-02 23:56:24 -08:00
closure-inherit-target-feature.rs x86-sse2 ABI: use SSE registers for floats and SIMD 2025-02-18 16:11:41 +01:00
cmse.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
cstring-merging.rs Make C string merging test work on MIPS 2025-04-17 16:08:22 +02:00
dwarf-mixed-versions-lto.rs Stabilize -Zdwarf-version as -Cdwarf-version 2025-04-14 21:26:41 -05:00
dwarf4.rs Stabilize -Zdwarf-version as -Cdwarf-version 2025-04-14 21:26:41 -05:00
dwarf5.rs Stabilize -Zdwarf-version as -Cdwarf-version 2025-04-14 21:26:41 -05:00
is_aligned.rs Run rustfmt on tests/assembly/. 2024-05-30 16:15:46 +10:00
issue-83585-small-pod-struct-equality.rs Fix tests for 32 bits targets 2024-06-11 07:45:16 +00:00
manual-eq-efficient.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
niche-prefer-zero.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
nvptx-arch-default.rs NVPTX: Enable previously disabled tests 2024-03-11 13:35:58 +01:00
nvptx-arch-emit-asm.rs NVPTX: Enable previously disabled tests 2024-03-11 13:35:58 +01:00
nvptx-arch-link-arg.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
nvptx-arch-target-cpu.rs NVPTX: Enable previously disabled tests 2024-03-11 13:35:58 +01:00
nvptx-atomics.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
nvptx-c-abi-arg-v7.rs NVPTX:_Especially add the DoubleI32 struct as a nvptx abi test case since it was used as an example when discussing possible problems 2024-05-31 23:12:33 +02:00
nvptx-c-abi-ret-v7.rs NVPTX:_Especially add the DoubleI32 struct as a nvptx abi test case since it was used as an example when discussing possible problems 2024-05-31 23:12:33 +02:00
nvptx-internalizing.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
nvptx-linking-binary.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
nvptx-linking-cdylib.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
nvptx-safe-naming.rs NVPTX: Enable previously disabled tests 2024-03-11 13:35:58 +01:00
panic-no-unwind-no-uwtable.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
panic-unwind-no-uwtable.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
pic-relocation-model.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
pie-relocation-model.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
powerpc64-struct-abi.rs Use explicit cpu in some asm and codegen tests. 2025-03-19 19:45:46 +01:00
riscv-soft-abi-with-float-features.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
rust-abi-arg-attr.rs remove support for rustc_intrinsic_must_be_overridden from the compiler 2025-02-24 07:53:59 +01:00
s390x-backchain-toggle.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
s390x-vector-abi.rs Use explicit cpu in some asm and codegen tests. 2025-03-19 19:45:46 +01:00
simd-bitmask.rs make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
simd-intrinsic-gather.rs update/bless tests 2025-04-06 21:41:47 +02:00
simd-intrinsic-mask-load.rs update/bless tests 2025-04-06 21:41:47 +02:00
simd-intrinsic-mask-reduce.rs update/bless tests 2025-04-06 21:41:47 +02:00
simd-intrinsic-mask-store.rs update/bless tests 2025-04-06 21:41:47 +02:00
simd-intrinsic-scatter.rs update/bless tests 2025-04-06 21:41:47 +02:00
simd-intrinsic-select.rs make abi_unsupported_vector_types a hard error 2025-04-20 11:34:56 +02:00
slice-is_ascii.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
small_data_threshold.rs Remove a footgun-y feature / relic of the past from the compiletest DSL 2025-02-03 05:45:18 +01:00
sparc-struct-abi.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
stack-probes.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
static-relocation-model.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
strict_provenance.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
target-feature-multiple.rs tests: use minicore more 2025-02-24 09:26:54 +00:00
wasm_exceptions.rs Fix wasm_exceptions test 2024-06-19 21:26:48 +01:00
x86-return-float.rs x86-sse2 ABI: use SSE registers for floats and SIMD 2025-02-18 16:11:41 +01:00
x86_64-array-pair-load-store-merge.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
x86_64-bigint-helpers.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
x86_64-cmp.rs Lower BinOp::Cmp to llvm.{s,u}cmp.* intrinsics 2025-03-06 22:29:05 +08:00
x86_64-floating-point-clamp.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
x86_64-fortanix-unknown-sgx-lvi-generic-load.rs Run rustfmt on tests/assembly/. 2024-05-30 16:15:46 +10:00
x86_64-fortanix-unknown-sgx-lvi-generic-ret.rs Run rustfmt on tests/assembly/. 2024-05-30 16:15:46 +10:00
x86_64-fortanix-unknown-sgx-lvi-inline-assembly.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
x86_64-function-return.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
x86_64-no-jump-tables.rs tests/assembly: use -Copt-level=3 instead of -O 2025-02-08 19:02:32 -08:00
x86_64-sse_crc.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
x86_64-typed-swap.rs Ensure swap_nonoverlapping is really always untyped 2025-04-09 09:09:37 -07:00
x86_64-windows-float-abi.rs tests: adjust expectation for f128 abi on Windows 2025-04-10 15:28:56 -04:00
x86_64-windows-i128-abi.rs x86_win64 ABI: do not use xmm0 with softfloat ABI 2025-02-19 08:41:19 +01:00