about summary refs log tree commit diff
path: root/tests/ui/asm
diff options
context:
space:
mode:
authorPaul Murphy <murp@redhat.com>2025-08-06 13:37:27 -0500
committerPaul Murphy <murp@redhat.com>2025-08-06 14:12:38 -0500
commit0bba9bd55c60a108c89cb32971ca2ebbf7386ba7 (patch)
treec9e944772608915850676f8ced242d02df4a9625 /tests/ui/asm
parent8fb40f798a23adf608182ce5f4eb151fdc8e0da5 (diff)
downloadrust-0bba9bd55c60a108c89cb32971ca2ebbf7386ba7.tar.gz
rust-0bba9bd55c60a108c89cb32971ca2ebbf7386ba7.zip
Explicitly disable vector feature on s390x baseline of bad-reg test
If the baseline s390x cpu is changed to a newer variant, such as z13,
the vector feature may be enabled by default. When rust is packaged
on fedora 38 and newer, it is set to z13.

Explicitly disable vector support on the baseline test for consistent
results across s390x cpus.
Diffstat (limited to 'tests/ui/asm')
-rw-r--r--tests/ui/asm/s390x/bad-reg.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/asm/s390x/bad-reg.rs b/tests/ui/asm/s390x/bad-reg.rs
index 56b2d709372..eb9138755e7 100644
--- a/tests/ui/asm/s390x/bad-reg.rs
+++ b/tests/ui/asm/s390x/bad-reg.rs
@@ -1,7 +1,7 @@
 //@ add-core-stubs
 //@ needs-asm-support
 //@ revisions: s390x s390x_vector s390x_vector_stable
-//@[s390x] compile-flags: --target s390x-unknown-linux-gnu
+//@[s390x] compile-flags: --target s390x-unknown-linux-gnu -C target-feature=-vector
 //@[s390x] needs-llvm-components: systemz
 //@[s390x_vector] compile-flags: --target s390x-unknown-linux-gnu -C target-feature=+vector
 //@[s390x_vector] needs-llvm-components: systemz