Skip to content

Commit aa7cb53

Browse files
authored
Rollup merge of rust-lang#145017 - pmur:murp/s390x-improve-asm-test, r=nnethercote
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.
2 parents 61e9c6c + 0bba9bd commit aa7cb53

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)