From 23665306226eb353cc81bb841a7284516e391056 Mon Sep 17 00:00:00 2001 From: Tunglies <77394545+Tunglies@users.noreply.github.com> Date: Sat, 20 Sep 2025 22:54:52 +0800 Subject: [PATCH] refactor: change lto option to "thin" for improved build performance --- 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 5906ef4f4..3234ccee0 100755 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -124,7 +124,7 @@ tokio-trace = ["console-subscriber"] [profile.release] panic = "abort" codegen-units = 16 -lto = true +lto = "thin" opt-level = 2 debug = false strip = true