about summary refs log tree commit diff
path: root/tests/codegen/abi-main-signature-16bit-c-int.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/abi-main-signature-16bit-c-int.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/abi-main-signature-16bit-c-int.rs')
-rw-r--r--tests/codegen/abi-main-signature-16bit-c-int.rs20
1 files changed, 4 insertions, 16 deletions
diff --git a/tests/codegen/abi-main-signature-16bit-c-int.rs b/tests/codegen/abi-main-signature-16bit-c-int.rs
index 353e7489b55..ce4d35dea0c 100644
--- a/tests/codegen/abi-main-signature-16bit-c-int.rs
+++ b/tests/codegen/abi-main-signature-16bit-c-int.rs
@@ -2,22 +2,10 @@
 // entry point. It must match C's `int main(int, char **)`.
 
 // This test is for targets with 16bit c_int only.
-// ignore-aarch64
-// ignore-arm
-// ignore-asmjs
-// ignore-hexagon
-// ignore-mips
-// ignore-mips64
-// ignore-powerpc
-// ignore-powerpc64
-// ignore-riscv64
-// ignore-s390x
-// ignore-sparc
-// ignore-sparc64
-// ignore-wasm32
-// ignore-x86
-// ignore-x86_64
-// ignore-loongarch64
+// revisions: avr msp
+//[avr] only-avr
+//[msp] only-msp430
+
 
 fn main() {
 }