about summary refs log tree commit diff
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-08-09 13:58:47 +1000
committerGitHub <noreply@github.com>2025-08-09 13:58:47 +1000
commitaa7cb5396e6e431632d1c285a6ed6a528128b9e8 (patch)
treed03e9ad1cbe3898f788ccbd20d6d18a7fd431514
parent61e9c6c686a943e4f0737366cb73cdbc070531c3 (diff)
parent0bba9bd55c60a108c89cb32971ca2ebbf7386ba7 (diff)
downloadrust-aa7cb5396e6e431632d1c285a6ed6a528128b9e8.tar.gz
rust-aa7cb5396e6e431632d1c285a6ed6a528128b9e8.zip
Rollup merge of #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.
-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