about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRémy Rakic <remy.rakic+github@gmail.com>2024-04-15 21:11:25 +0000
committerRémy Rakic <remy.rakic+github@gmail.com>2024-05-16 16:08:06 +0000
commit514765b405cecdaa0dd9b7a631a6aec41c7ce817 (patch)
tree5a49261295bb6cf87216b4de40d7f40d646a78db
parent7695e5aeb47477300801bc367355d929c636ae09 (diff)
downloadrust-514765b405cecdaa0dd9b7a631a6aec41c7ce817.tar.gz
rust-514765b405cecdaa0dd9b7a631a6aec41c7ce817.zip
describe new default value for `rust.lld` in config template
-rw-r--r--config.example.toml9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.example.toml b/config.example.toml
index 224d079b206..228521747ed 100644
--- a/config.example.toml
+++ b/config.example.toml
@@ -653,9 +653,12 @@
 # when no explicit backend is specified.
 #codegen-backends = ["llvm"]
 
-# Indicates whether LLD will be compiled and made available in the sysroot for
-# rustc to execute.
-#lld = false
+# Indicates whether LLD will be compiled and made available in the sysroot for rustc to execute, and
+# whether to set it as rustc's default linker on `x86_64-unknown-linux-gnu`. This will also only be
+# when *not* building an external LLVM (so only when using `download-ci-llvm` or building LLVM from
+# the in-tree source): setting `llvm-config` in the `[target.x86_64-unknown-linux-gnu]` section will
+# make this default to false. 
+#lld = false in all cases, except on `x86_64-unknown-linux-gnu` as described above, where it is true
 
 # Indicates whether LLD will be used to link Rust crates during bootstrap on
 # supported platforms.