Skip to content

Commit 514765b

Browse files
committed
describe new default value for rust.lld in config template
1 parent 7695e5a commit 514765b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

config.example.toml

+6-3
Original file line numberDiff line numberDiff line change
@@ -653,9 +653,12 @@
653653
# when no explicit backend is specified.
654654
#codegen-backends = ["llvm"]
655655

656-
# Indicates whether LLD will be compiled and made available in the sysroot for
657-
# rustc to execute.
658-
#lld = false
656+
# Indicates whether LLD will be compiled and made available in the sysroot for rustc to execute, and
657+
# whether to set it as rustc's default linker on `x86_64-unknown-linux-gnu`. This will also only be
658+
# when *not* building an external LLVM (so only when using `download-ci-llvm` or building LLVM from
659+
# the in-tree source): setting `llvm-config` in the `[target.x86_64-unknown-linux-gnu]` section will
660+
# make this default to false.
661+
#lld = false in all cases, except on `x86_64-unknown-linux-gnu` as described above, where it is true
659662

660663
# Indicates whether LLD will be used to link Rust crates during bootstrap on
661664
# supported platforms.

0 commit comments

Comments
 (0)