about summary refs log tree commit diff
path: root/tests/codegen/global_asm.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2023-07-29 14:57:53 -0700
committerJubilee Young <workingjubilee@gmail.com>2023-07-29 15:49:07 -0700
commit20ebbf467d5bc6eca39ca014c4258aa6835b18db (patch)
tree8ee9c2a2e7fbb374a850742ce90e60ebab770e6c /tests/codegen/global_asm.rs
parent040bc3447e3d43ce79dee8420f4ab05d6aa3a8c7 (diff)
downloadrust-20ebbf467d5bc6eca39ca014c4258aa6835b18db.tar.gz
rust-20ebbf467d5bc6eca39ca014c4258aa6835b18db.zip
Replace ignore-everything with only-arch
Combining revisions with only-arch allows specifying
that a test only applies to a handful of targets.
This allows removing a large amount of repetition
in the test suite for tests that do not benefit.
The revisions are suboptimal for this for some tests,
so they aren't preferred in those cases.
Diffstat (limited to 'tests/codegen/global_asm.rs')
-rw-r--r--tests/codegen/global_asm.rs24
1 files changed, 3 insertions, 21 deletions
diff --git a/tests/codegen/global_asm.rs b/tests/codegen/global_asm.rs
index 41a99530ad2..4c2ccf4e0e9 100644
--- a/tests/codegen/global_asm.rs
+++ b/tests/codegen/global_asm.rs
@@ -1,24 +1,6 @@
-// ignore-aarch64
-// ignore-arm
-// ignore-avr
-// ignore-bpf
-// ignore-bpf
-// ignore-hexagon
-// ignore-mips
-// ignore-mips64
-// ignore-msp430
-// ignore-powerpc64
-// ignore-powerpc
-// ignore-sparc
-// ignore-sparc64
-// ignore-s390x
-// ignore-thumb
-// ignore-nvptx64
-// ignore-spirv
-// ignore-wasm32
-// ignore-wasm64
-// ignore-emscripten
-// ignore-loongarch64
+// revisions: x32 x64
+//[x32] only-x86
+//[x64] only-x86_64
 // compile-flags: -C no-prepopulate-passes
 
 #![crate_type = "lib"]