From cc9b95ddef389af6f1baf494253d3dd20b34ac0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Sat, 12 Sep 2026 10:54:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E8=AF=95=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=EF=BC=9A=E6=8F=90=E5=8D=87SHA-256=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E6=80=A7=E8=83=BD=EF=BC=8C=E9=81=BF=E5=85=8D=E8=B0=83=E8=AF=95?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E9=98=BB=E5=A1=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ai-game-creator-shell/src-tauri/Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/ai-game-creator-shell/src-tauri/Cargo.toml b/apps/ai-game-creator-shell/src-tauri/Cargo.toml index 7aa0e1cb4..b1b08062c 100644 --- a/apps/ai-game-creator-shell/src-tauri/Cargo.toml +++ b/apps/ai-game-creator-shell/src-tauri/Cargo.toml @@ -74,6 +74,14 @@ codegen-units = 256 lto = "off" incremental = true +# Runner 启动阶段会对当前 Debug 可执行文件计算 SHA-256。仅优化密码学依赖, +# 保持业务代码的 Debug 编译速度,同时避免整份 Debug 构建因未优化 hash 热点而阻塞启动。 +[profile.dev.package.sha2] +opt-level = 3 + +[profile.dev.package.digest] +opt-level = 3 + [profile.test] opt-level = 0 debug = 1