Simplify check for unsupported architectures

This commit is contained in:
Alice Ryhl 2024-05-29 16:58:46 +02:00
parent 7677ff2879
commit 4aafecb169
6 changed files with 2 additions and 10 deletions

View File

@ -1,2 +0,0 @@
error: the `-Zfixed-x18` flag is not supported on the `arm` architecture

View File

@ -1,2 +0,0 @@
error: the `-Zfixed-x18` flag is not supported on the `x86` architecture

View File

@ -1,2 +0,0 @@
error: the `-Zfixed-x18` flag is not supported on the `riscv32` architecture

View File

@ -1,2 +0,0 @@
error: the `-Zfixed-x18` flag is not supported on the `riscv64` architecture

View File

@ -2,6 +2,8 @@
// Behavior on aarch64 is tested by tests/codegen/fixed-x18.rs.
//
//@ revisions: x64 i686 arm riscv32 riscv64
//@ error-pattern: the `-Zfixed-x18` flag is not supported
//@ dont-check-compiler-stderr
//
//@ compile-flags: -Zfixed-x18
//@ [x64] needs-llvm-components: x86

View File

@ -1,2 +0,0 @@
error: the `-Zfixed-x18` flag is not supported on the `x86_64` architecture