about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-17 16:18:28 +0000
committerbors <bors@rust-lang.org>2024-01-17 16:18:28 +0000
commit6ae4cfbbb080cafea7f6be48ce47678ee057352c (patch)
treec1b72b8d2ce9f38afe4221ff118e9e6fabb8f1a2 /src/doc
parentc58a5da7d48ff3887afe4c618dc04defdee3dab5 (diff)
parent12c19a2bb777a87c10afe1a7ea7fbee00def730d (diff)
downloadrust-6ae4cfbbb080cafea7f6be48ce47678ee057352c.tar.gz
rust-6ae4cfbbb080cafea7f6be48ce47678ee057352c.zip
Auto merge of #118708 - davidtwco:target-tier-assembly-test, r=Mark-Simulacrum
tests: add sanity-check assembly test for every target

Fixes #119910.

Adds a basic assembly test checking that each target can produce assembly and update the target tier policy to require this.

cc rust-lang/compiler-team#655
r? `@wesleywiser`
Diffstat (limited to 'src/doc')
-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