JiahengHe 10 ماه پیش
والد
کامیت
447b21bb54
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      Cargo.toml

+ 4 - 3
Cargo.toml

@@ -35,9 +35,10 @@ tracing-subscriber = { version = "0.3.17", features = [
     "local-time"
 ] }
 
-[profile.release]
-lto = true   # 启用链接时优化
-strip = "debuginfo"  # 剥离调试信息
+# 在确认程序运行无误后 可开启以下配置,可减少打包后的程序大小
+#[profile.release]
+#lto = true   # 启用链接时优化
+#strip = "debuginfo"  # 剥离调试信息
 
 #[workspace]
 #members=[