about summary refs log tree commit diff
path: root/src/doc/rustc
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2023-12-07 14:16:11 +0000
committerDavid Wood <david.wood@huawei.com>2024-01-17 09:44:11 +0000
commita87034c2977369c8e7670dbe477e3196c45e4615 (patch)
treec7b9df09e09c94ce7c4123ed4c7fa2c4113b6c02 /src/doc/rustc
parent16f4b02dd8a2e16b8fb0a236399088e2cf301e63 (diff)
tests: add sanity-check assembly test for every target
Adds a basic assembly test checking that each target can produce assembly
and update the target tier policy to require this.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'src/doc/rustc')
-rw-r--r--src/doc/rustc/src/target-tier-policy.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/rustc/src/target-tier-policy.md b/src/doc/rustc/src/target-tier-policy.md
index 95932db14e1..48b58f6f06a 100644
--- a/src/doc/rustc/src/target-tier-policy.md
+++ b/src/doc/rustc/src/target-tier-policy.md
@@ -246,6 +246,8 @@ approved by the appropriate team for that shared code before acceptance.
     introducing unconditional uses of features that another variation of the
     target may not have; use conditional compilation or runtime detection, as
     appropriate, to let each target run code supported by that target.
+- Tier 3 targets must be able to produce assembly using at least one of
+  rustc's supported backends from any host target.
 
 If a tier 3 target stops meeting these requirements, or the target maintainers
 no longer have interest or time, or the target shows no signs of activity and