X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=config.toml.example;h=a46813e4d7a3b825475b743466ee5650ab0174d5;hb=a21c0458979d786d821c2d75a1b109fe38914da0;hp=1f5747456e9571bf4c5e2fc06bd585c9937e6cb3;hpb=46244f335b5262ef9bdc34cc564b4dea221948f6;p=rust.git diff --git a/config.toml.example b/config.toml.example index 1f5747456e9..a46813e4d7a 100644 --- a/config.toml.example +++ b/config.toml.example @@ -638,6 +638,11 @@ changelog-seen = 2 # If an explicit setting is given, it will be used for all parts of the codebase. #new-symbol-mangling = true|false (see comment) +# Select LTO mode that will be used for compiling rustc. By default, thin local LTO +# (LTO within a single crate) is used (like for any Rust crate). You can also select +# "thin" or "fat" to apply Thin/Fat LTO to the `rustc_driver` dylib. +#lto = "thin-local" + # ============================================================================= # Options for specific targets #