From 40d880bc7818e4a4905120602bb7f916f4e6cb73 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Wed, 16 Mar 2022 20:37:10 +0100 Subject: [PATCH] Use thin LTO by default --- Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4247067..8863c2e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,3 +22,9 @@ rand = "0.8.4" rt-format = "0.3.0" log = "0.4" env_logger = { version = "0.9.0", default-features = false, features = ["termcolor", "atty", "humantime"] } # without regex + +[profile.dev] +lto = "thin" + +[profile.release] +lto = "thin"