From d7b23edb8cbdedfbe053d5eba34fc1080fcafcd5 Mon Sep 17 00:00:00 2001 From: Val Lorentz Date: Thu, 2 Nov 2023 12:32:42 +0100 Subject: [PATCH] Enable thin LTO for release builds It takes the same time to run and makes the output marginally smaller --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 3bb8f06..b3556ed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,3 +64,6 @@ tui-textarea = "0.3.0" [dev-dependencies] pretty_assertions = "1.4.0" + +[profile.release] +lto = "thin"