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