Document how to promote a target from cross-compiled to hosted

This commit is contained in:
Joshua Nelson 2020-09-08 20:14:05 -04:00 committed by Tshepang Lekhonkhobe
parent 3d0543b644
commit 059ad38ddf
1 changed files with 9 additions and 0 deletions

View File

@ -99,3 +99,12 @@ compiler/rustc library/std
If your target specification is already available in the bootstrap
compiler, you can use it instead of the JSON file for both arguments.
## Promoting a target from tier 2 (target) to tier 2 (host)
There are two levels of tier 2 targets:
a) Targets that are only cross-compiled (`rustup target add`)
b) Targets that have a native toolchain (`rustup toolchain install`)
For an example of promoting a target from cross-compiled to native,
see [!75914](https://github.com/rust-lang/rust/pull/75914).