Skip to content

Commit 0bba9bd

Browse files
committed
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.
1 parent 8fb40f7 commit 0bba9bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ui/asm/s390x/bad-reg.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//@ add-core-stubs
22
//@ needs-asm-support
33
//@ revisions: s390x s390x_vector s390x_vector_stable
4-
//@[s390x] compile-flags: --target s390x-unknown-linux-gnu
4+
//@[s390x] compile-flags: --target s390x-unknown-linux-gnu -C target-feature=-vector
55
//@[s390x] needs-llvm-components: systemz
66
//@[s390x_vector] compile-flags: --target s390x-unknown-linux-gnu -C target-feature=+vector
77
//@[s390x_vector] needs-llvm-components: systemz

0 commit comments

Comments
 (0)