Skip to content

Commit b671e5a

Browse files
committed
describe new default value for rust.lld in config template
1 parent 418eb1d commit b671e5a

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
@@ -652,9 +652,12 @@
652652
# when no explicit backend is specified.
653653
#codegen-backends = ["llvm"]
654654

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

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

0 commit comments

Comments
 (0)