From 41aa732cdfabef99c236438e7ec1cabb01977fcc Mon Sep 17 00:00:00 2001 From: Tw93 Date: Mon, 10 Apr 2023 13:10:12 +0800 Subject: [PATCH] :bug: change to s --- src-tauri/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index ac6cdfe..767815a 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -30,6 +30,7 @@ default = ["custom-protocol"] custom-protocol = ["tauri/custom-protocol"] +#Pay attention to the code size during optimization in order to generate smaller binary files. [profile.release] -opt-level = "z" # 或者 "s",以优化大小 +opt-level = "s" lto = true