Skip to content

Commit bb6e76d

Browse files
committed
Auto merge of rust-lang#106312 - tgross35:update-book-target, r=JohnTitor
Added link from Targets to Platform Support in the book If you search the web for "rust targets", the first result is the [targets page](https://doc.rust-lang.org/nightly/rustc/targets/index.html). However, usually when searching for this I'm interested in seeing the available triples with host information, so I just added a link to the correct page. The entire `Targets` chapter could probably be combined into one page, since its three subchapters each only have a tiny section (I'll do this if requested)
2 parents c9825f7 + a582919 commit bb6e76d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/doc/rustc/src/targets/index.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Targets
22

33
`rustc` is a cross-compiler by default. This means that you can use any compiler to build for any
4-
architecture. The list of *targets* are the possible architectures that you can build for.
4+
architecture. The list of *targets* are the possible architectures that you can build for. See
5+
the [Platform Support](../platform-support.md) page for a detailed list of targets, or
6+
[Built-in Targets](built-in.md) for instructions on how to view what is available for your version
7+
of `rustc`.
58

69
To see all the options that you can set with a target, see the docs
710
[here](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/spec/struct.Target.html).

0 commit comments

Comments
 (0)