1
Fork 0

fix: running the test only on x86_64.

The test was failing on aarch64-apple-darwin.
This commit is contained in:
Hadrien Eyraud 2025-02-03 14:16:27 +01:00 committed by eyraudh
parent 6948343b9f
commit ff699ce9f5
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
// Regression test for issue #134224.
//@ only-x86_64
#![feature(repr_simd)]

View file

@ -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());
| ^^^