Skip to content

Commit 7d54418

Browse files
jyn514tshepang
authored andcommitted
Document how to promote a target from cross-compiled to hosted
1 parent af3a92e commit 7d54418

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/building/new-target.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,12 @@ compiler/rustc library/std
9999

100100
If your target specification is already available in the bootstrap
101101
compiler, you can use it instead of the JSON file for both arguments.
102+
103+
## Promoting a target from tier 2 (target) to tier 2 (host)
104+
105+
There are two levels of tier 2 targets:
106+
a) Targets that are only cross-compiled (`rustup target add`)
107+
b) Targets that have a native toolchain (`rustup toolchain install`)
108+
109+
For an example of promoting a target from cross-compiled to native,
110+
see [!75914](https://github.com/rust-lang/rust/pull/75914).

0 commit comments

Comments
 (0)