Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a0c21e4
Remove let_underscore_must_use from list of uplifted lints
Mark-Simulacrum Nov 1, 2022
7df9d81
deprecate DelaySpanBugEmitted and use ErrorGuaranteed directly
chenyukang Nov 2, 2022
59be515
Properly render asyncness for traits without default body
compiler-errors Nov 2, 2022
ab22f55
change error_reported to use Result instead of an option
chenyukang Nov 2, 2022
68e19aa
rustdoc: remove redundant mobile CSS `.sidebar-elems { background }`
notriddle Nov 2, 2022
a21a055
remove 'delay_span_bug' following 'references_error'
chenyukang Nov 3, 2022
c6d23bd
code cleanup
chenyukang Nov 3, 2022
87b2110
Add howto for adding new targets
flba-eb Nov 3, 2022
ba18f16
Add visit_fn_ret_ty to hir intravisit
spastorino Oct 26, 2022
9c79a27
Add note to RELEASES.md regarding issue 102754.
pnkfelix Nov 3, 2022
35b16d0
Move some tests from `src/test/ui` to more reasonable places
fee1-dead Nov 3, 2022
f097940
rustdoc: clean up hardcoded CSS border color on search results
notriddle Nov 3, 2022
c51c07d
rustdoc: remove no-op CSS `#main-content > .item-info { margin-top: 0 }`
notriddle Nov 3, 2022
a5efeb3
Rollup merge of #103825 - Mark-Simulacrum:fix-relnotes, r=pietroalbini
matthiaskrgr Nov 4, 2022
14fdfcb
Rollup merge of #103884 - spastorino:visit-fn-ret-ty-intravisit, r=co…
matthiaskrgr Nov 4, 2022
6e582ca
Rollup merge of #103892 - compiler-errors:afit-rustdoc, r=GuillaumeGomez
matthiaskrgr Nov 4, 2022
a81a531
Rollup merge of #103905 - notriddle:notriddle/sidebar-elems-backgroun…
matthiaskrgr Nov 4, 2022
47bf743
Rollup merge of #103912 - flba-eb:doc_adding_tier3_target, r=davidtwco
matthiaskrgr Nov 4, 2022
61c6cdb
Rollup merge of #103915 - chenyukang:yukang/fix-103874, r=lcnr
matthiaskrgr Nov 4, 2022
e6eaa2f
Rollup merge of #103930 - fee1-dead-contrib:mv-from-root, r=jyn514
matthiaskrgr Nov 4, 2022
9ef3b41
Rollup merge of #103931 - pnkfelix:note-eh-personality-limit-atop-lld…
matthiaskrgr Nov 4, 2022
f35dccb
Rollup merge of #103938 - notriddle:notriddle/search-results-border-b…
matthiaskrgr Nov 4, 2022
923d907
Rollup merge of #103940 - notriddle:notriddle/main-content-item-info-…
matthiaskrgr Nov 4, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add howto for adding new targets
  • Loading branch information
flba-eb committed Nov 3, 2022
commit 87b2110f25bed1407a9aded9e263b64dc3315d45
25 changes: 25 additions & 0 deletions src/doc/rustc/src/target-tier-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Table of Contents

* [General](#general)
* [Adding a new target](#adding-a-new-target)
* [Tier 3 target policy](#tier-3-target-policy)
* [Tier 2 target policy](#tier-2-target-policy)
* [Tier 2 with host tools](#tier-2-with-host-tools)
Expand Down Expand Up @@ -104,6 +105,30 @@ indicates something entirely optional, and does not indicate guidance or
recommendations. This language is based on [IETF RFC
2119](https://tools.ietf.org/html/rfc2119).

## Adding a new target

New targets typically start as Tier 3 and then can be promoted later.
To propose addition of a new target, open a pull request on [`rust-lang/rust`]:

- Copy the [Tier 3 target policy](#tier-3-target-policy) to the description
and fill it out, see [example][tier3example].
- Add a new description for the target in `src/doc/rustc/src/platform-support`
using the [template][platform_template].
- Add the target to the [SUMMARY.md][summary] (allows wildcards) and
[platform-support.md][platformsupport] (must name all targets verbatim).
Link to the created description page.
- Ensure the pull request is assigned to a member of the [Rust compiler team][rust_compiler_team] by commenting:
```text
r? compiler-team
```

[tier3example]: https://github.com/rust-lang/rust/pull/94872
[platform_template]: https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/platform-support/TEMPLATE.md
[summary]: https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/SUMMARY.md
[platformsupport]: https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/platform-support.md
[rust_compiler_team]: https://www.rust-lang.org/governance/teams/compiler
[`rust-lang/rust`]: https://github.com/rust-lang/rust

## Tier 3 target policy

At this tier, the Rust project provides no official support for a target, so we
Expand Down