X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=config.toml.example;h=a9835ad12ad5a6f93e468e84b7b16e4de514f70b;hb=76b99d5f1d3eac78a4c4a383e42339fc88affeac;hp=01952b21ba4b1fe9a07f76b246b65e3a0151760c;hpb=a80559f472d9baa4d22359a400d5c0f5852e548d;p=rust.git diff --git a/config.toml.example b/config.toml.example index 01952b21ba4..a9835ad12ad 100644 --- a/config.toml.example +++ b/config.toml.example @@ -341,7 +341,10 @@ # Debuginfo for tests run with compiletest is not controlled by this option # and needs to be enabled separately with `debuginfo-level-tests`. # -# Defaults to 2 if debug is true +# Note that debuginfo-level = 2 generates several gigabytes of debuginfo +# and will slow down the linking process significantly. +# +# Defaults to 1 if debug is true #debuginfo-level = 0 # Debuginfo level for the compiler. @@ -430,7 +433,7 @@ # # LLD will not be used if we're cross linking or running tests. # -# Explicitly setting the linker for a target will override this option. +# Explicitly setting the linker for a target will override this option when targeting MSVC. #use-lld = false # Indicates whether some LLVM tools, like llvm-objdump, will be made available in the @@ -453,8 +456,7 @@ # instead of LLVM's default of 100. #thin-lto-import-instr-limit = 100 -# Map all debuginfo paths for libstd and crates to `/rust/$sha/$crate/...`, -# generally only set for releases +# Map debuginfo paths to `/rust/$sha/...`, generally only set for releases #remap-debuginfo = false # Link the compiler against `jemalloc`, where on Linux and OSX it should @@ -501,7 +503,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. +# Setting this will override the `use-lld` option for Rust code when targeting MSVC. #linker = "cc" # Path to the `llvm-config` binary of the installation of a custom LLVM to link