bootstrap: Allow for setting the ThinLTO import limit used for compiler the compiler.

This commit is contained in:
Michael Woerister
2019-12-20 14:38:28 +01:00
parent 766fba3fdc
commit 1b7c404d4b
3 changed files with 25 additions and 0 deletions

View File

@@ -406,6 +406,13 @@
# Whether to verify generated LLVM IR
#verify-llvm-ir = false
# Compile the compiler with a non-default ThinLTO import limit. This import
# limit controls the maximum size of functions imported by ThinLTO. Decreasing
# will make code compile faster at the expense of lower runtime performance.
# If `incremental` is set to true above, the import limit will default to 10
# 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
#remap-debuginfo = false