]> git.lizzy.rs Git - rust.git/blobdiff - config.toml.example
Add `rust.lto` config option
[rust.git] / config.toml.example
index 1f5747456e9571bf4c5e2fc06bd585c9937e6cb3..35b07924b8ea0379ebd3f6cd014e9009d8a665d6 100644 (file)
@@ -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. You can also select "thin" or "fat" to apply Thin/Fat LTO on the
+# `rustc_driver` dylib.
+#lto = thin-local
+
 # =============================================================================
 # Options for specific targets
 #