about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2020-02-09 14:35:50 +0100
committerJohn Kåre Alsaker <john.kare.alsaker@gmail.com>2020-02-09 14:35:50 +0100
commitd304cd0c5543c701bbfec0bd7b0c8b7c142b3bca (patch)
treede955bf1c953cc32f1ffc14180624dc9768ee260
parente763ddc6b9025482edd06ab563f8a3783381aae9 (diff)
downloadrust-d304cd0c5543c701bbfec0bd7b0c8b7c142b3bca.tar.gz
rust-d304cd0c5543c701bbfec0bd7b0c8b7c142b3bca.zip
More comments
-rw-r--r--config.toml.example3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.toml.example b/config.toml.example
index 632b09b92bd..c37cd4a9857 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -400,6 +400,8 @@
 # and not the LLD compiled during the bootstrap.
 #
 # LLD will not be used if we're cross linking or running tests.
+#
+# Explicitly setting the linker for a target will override this option.
 #use-lld = false
 
 # Indicates whether some LLVM tools, like llvm-objdump, will be made available in the
@@ -470,6 +472,7 @@
 # Linker to be used to link Rust code. Note that the
 # default value is platform specific, and if not specified it may also depend on
 # what platform is crossing to what platform.
+# Setting this will override the `use-lld` option for Rust code.
 #linker = "cc"
 
 # Path to the `llvm-config` binary of the installation of a custom LLVM to link