Skip to content

Commit

Permalink
describe new default value for rust.lld in config template
Browse files Browse the repository at this point in the history
  • Loading branch information
lqd committed May 16, 2024
1 parent 7695e5a commit 514765b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 514765b

Please sign in to comment.