From 11cae2fa910d39f30ca5e86b170c5b74ef45e848 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Thu, 26 Dec 2024 21:16:22 +0200 Subject: [PATCH] Use 'thin' LTO to reduce build time On my machine, linking takes ~10s with 'thin' LTO and ~40s with 'fat' LTO. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2022b54..4073de5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,4 +62,4 @@ hex_lit = "0.1.1" tempfile = "3.14" [profile.release] -lto = true +lto = "thin"