From f8e44dd06cd61c73aec0a9c4bca12d90b1c28458 Mon Sep 17 00:00:00 2001 From: Jinghao Jia Date: Thu, 15 Aug 2024 23:09:38 -0500 Subject: [PATCH] rex-config: turn on thin-LTO by default Signed-off-by: Jinghao Jia --- rex-config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rex-config.toml b/rex-config.toml index f966c56e877a7..3d340cfb45055 100644 --- a/rex-config.toml +++ b/rex-config.toml @@ -724,7 +724,7 @@ new-symbol-mangling = true # (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, or "off" to disable # LTO entirely. -#lto = "thin-local" +lto = "thin" # Build compiler with the optimization enabled and -Zvalidate-mir, currently only for `std` #validate-mir-opts = 3