From 05b7f8b10bb837fc1483cc0a60e9dad4a117ff65 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 19 Nov 2026 04:09:29 +0400 Subject: [PATCH] build: fat LTO for sync --- donut-sync/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/donut-sync/Cargo.toml b/donut-sync/Cargo.toml index b2599780..3baa1fa6 100644 --- a/donut-sync/Cargo.toml +++ b/donut-sync/Cargo.toml @@ -11,7 +11,8 @@ name = "donut-sync" path = "src/main.rs" [profile.release] -lto = "thin" +# 10% smaller than thin. +lto = "fat" codegen-units = 1 strip = true