diff options
| author | Hadrien Eyraud <hadrien.eyraud@grenoble-inp.org> | 2025-02-03 14:16:27 +0100 |
|---|---|---|
| committer | eyraudh <hadrieneyraud2@gmail.com> | 2025-03-23 19:42:14 +0100 |
| commit | ff699ce9f55e974e9181a800203fae9d73b90e37 (patch) | |
| tree | f34cacf9fa1ab15077115034d87378d115e9689a | |
| parent | 6948343b9fd4855377fd68c93b9c027d525df590 (diff) | |
| download | rust-ff699ce9f55e974e9181a800203fae9d73b90e37.tar.gz rust-ff699ce9f55e974e9181a800203fae9d73b90e37.zip | |
fix: running the test only on x86_64.
The test was failing on aarch64-apple-darwin.
| -rw-r--r-- | tests/ui/simd/empty-simd-vector-in-operand.rs | 1 | ||||
| -rw-r--r-- | tests/ui/simd/empty-simd-vector-in-operand.stderr | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/simd/empty-simd-vector-in-operand.rs b/tests/ui/simd/empty-simd-vector-in-operand.rs index ae21461eb95..2a2a6c0737d 100644 --- a/tests/ui/simd/empty-simd-vector-in-operand.rs +++ b/tests/ui/simd/empty-simd-vector-in-operand.rs @@ -1,4 +1,5 @@ // Regression test for issue #134224. +//@ only-x86_64 #![feature(repr_simd)] diff --git a/tests/ui/simd/empty-simd-vector-in-operand.stderr b/tests/ui/simd/empty-simd-vector-in-operand.stderr index a0faf5f06d2..7210dddd461 100644 --- a/tests/ui/simd/empty-simd-vector-in-operand.stderr +++ b/tests/ui/simd/empty-simd-vector-in-operand.stderr @@ -1,11 +1,11 @@ error[E0075]: SIMD vector cannot be empty - --> $DIR/empty-simd-vector-in-operand.rs:6:1 + --> $DIR/empty-simd-vector-in-operand.rs:7:1 | LL | struct A(); | ^^^^^^^^ error: use of empty SIMD vector `A` - --> $DIR/empty-simd-vector-in-operand.rs:11:43 + --> $DIR/empty-simd-vector-in-operand.rs:12:43 | LL | std::arch::asm!("{}", in(xmm_reg) A()); | ^^^ |
