about summary refs log tree commit diff
path: root/config.toml.example
diff options
context:
space:
mode:
authorMateusz Mikuła <mati865@gmail.com>2020-08-03 15:39:09 +0200
committerMateusz Mikuła <mati865@gmail.com>2020-08-03 18:10:37 +0200
commit594f81a2b4dae23827271ea3a4bbb21c1a0004e1 (patch)
treee96c46960535a02d989e80176496f21b71b8dd26 /config.toml.example
parent3a92b9987abd01c4b7e59c870e85beb9dd4d4aa2 (diff)
downloadrust-594f81a2b4dae23827271ea3a4bbb21c1a0004e1.tar.gz
rust-594f81a2b4dae23827271ea3a4bbb21c1a0004e1.zip
Make rust.use-lld config option work with non MSVC targets
Diffstat (limited to 'config.toml.example')
-rw-r--r--config.toml.example4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.toml.example b/config.toml.example
index 8ecd8d88d48..a9835ad12ad 100644
--- a/config.toml.example
+++ b/config.toml.example
@@ -433,7 +433,7 @@
 #
 # LLD will not be used if we're cross linking or running tests.
 #
-# Explicitly setting the linker for a target will override this option.
+# Explicitly setting the linker for a target will override this option when targeting MSVC.
 #use-lld = false
 
 # Indicates whether some LLVM tools, like llvm-objdump, will be made available in the
@@ -503,7 +503,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.
+# Setting this will override the `use-lld` option for Rust code when targeting MSVC.
 #linker = "cc"
 
 # Path to the `llvm-config` binary of the installation of a custom LLVM to link