X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=config.toml.example;h=9b7327ea69e0b1663f3c83b5ed6f9f0bacf36ed0;hb=97b3d816152774e45d01d44cd5b44565dc7aba58;hp=b4e3b3e5e670df30cebc79c2b7ae9e46558bb63a;hpb=87df124ba77a2ce64e11782bddeadae85d26603d;p=rust.git diff --git a/config.toml.example b/config.toml.example index b4e3b3e5e67..9b7327ea69e 100644 --- a/config.toml.example +++ b/config.toml.example @@ -395,6 +395,15 @@ # rustc to execute. #lld = false +# Indicates whether LLD will be used to link Rust crates during bootstrap on +# supported platforms. The LLD from the bootstrap distribution will be used +# 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 # sysroot. #llvm-tools = false @@ -467,6 +476,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