JiahengHe hai 11 meses
pai
achega
5ac17bf639
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Cargo.toml

+ 4 - 0
Cargo.toml

@@ -35,6 +35,10 @@ tracing-subscriber = { version = "0.3.17", features = [
     "local-time"
 ] }
 
+[profile.release]
+lto = true   # 启用链接时优化
+strip = "debuginfo"  # 剥离调试信息
+
 #[workspace]
 #members=[
 #]