about summary refs log tree commit diff
path: root/config.toml.example
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-29 16:56:45 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2021-12-31 13:13:24 -0500
commitb1fbafddbbfbe7894faa6fa78cb1bcf0eb5089a1 (patch)
tree0b608b582d479450a1dab418bfec161447d6e459 /config.toml.example
parenta09f775e5a71ba809f465b3af377943627552001 (diff)
downloadrust-b1fbafddbbfbe7894faa6fa78cb1bcf0eb5089a1.tar.gz
rust-b1fbafddbbfbe7894faa6fa78cb1bcf0eb5089a1.zip
rustbuild: Add support for a per-target default-linker option.
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.toml.example b/config.toml.example
index 4dd953a495d..f24f8e81a79 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -488,9 +488,12 @@ changelog-seen = 2
 # FIXME(#75760): Some UI tests fail when this option is enabled.
 #parallel-compiler = false
 
-# The default linker that will be hard-coded into the generated compiler for
-# targets that don't specify linker explicitly in their target specifications.
-# Note that this is not the linker used to link said compiler.
+# The default linker that will be hard-coded into the generated
+# compiler for targets that don't specify a default linker explicitly
+# in their target specifications.  Note that this is not the linker
+# used to link said compiler. It can also be set per-target (via the
+# `[target.<triple>]` block), which may be useful in a cross-compilation
+# setting.
 #
 # See https://doc.rust-lang.org/rustc/codegen-options/index.html#linker for more information.
 #default-linker = <none> (path)