X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=config.toml.example;h=a46813e4d7a3b825475b743466ee5650ab0174d5;hb=176a89f4969904bccb280e6b36fdd6eb878a88f2;hp=1f5747456e9571bf4c5e2fc06bd585c9937e6cb3;hpb=18431b66ce68a58d3dde2c7143a6e6bfb08cae60;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 #