From 6628ea39da1beba18c887e10d18ff6a18299375c Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Fri, 29 May 2026 01:58:56 +0800 Subject: [PATCH] fix(build): enable full link-time optimization in release profile --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3b7c4450d5..8b323ebb2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,6 @@ mysql_common = { git = "https://github.com/t8y2/rust_mysql_common.git", rev = "5 [profile.release] panic = "abort" strip = true -lto = "thin" +lto = true codegen-units = 1 opt-level = "s"