about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-01 05:20:48 +0000
committerbors <bors@rust-lang.org>2023-01-01 05:20:48 +0000
commitbb6e76df06dcbdb96e634eb28a49f161d70ab844 (patch)
tree480f7852e20f39c351c4da7dcc08d980c5c48801 /src
parentc9825f7087adcd9a132d896853b562087e0421a9 (diff)
parenta582919b66346945f4283ded1bca68f94845115d (diff)
downloadrust-bb6e76df06dcbdb96e634eb28a49f161d70ab844.tar.gz
rust-bb6e76df06dcbdb96e634eb28a49f161d70ab844.zip
Auto merge of #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)
Diffstat (limited to 'src')
-rw-r--r--src/doc/rustc/src/targets/index.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/doc/rustc/src/targets/index.md b/src/doc/rustc/src/targets/index.md
index 5859df83f64..f291cde2e5a 100644
--- a/src/doc/rustc/src/targets/index.md
+++ b/src/doc/rustc/src/targets/index.md
@@ -1,7 +1,10 @@
 # Targets
 
 `rustc` is a cross-compiler by default. This means that you can use any compiler to build for any
-architecture. The list of *targets* are the possible architectures that you can build for.
+architecture. The list of *targets* are the possible architectures that you can build for. See
+the [Platform Support](../platform-support.md) page for a detailed list of targets, or
+[Built-in Targets](built-in.md) for instructions on how to view what is available for your version
+of `rustc`.
 
 To see all the options that you can set with a target, see the docs
 [here](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/spec/struct.Target.html).