From d3d680b22420212fdf86f9ab3a0bf811549d6559 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sat, 2 May 2026 22:30:30 +0800 Subject: [PATCH] chore: switch release LTO from fat to thin for faster builds --- src-tauri/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 1fe17155a..8a30ac502 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -17,7 +17,7 @@ tauri-build = { version = "2.5.6", features = [] } [profile.release] strip = true -lto = true +lto = "thin" codegen-units = 1 opt-level = "s"