소스 검색

chore: profile release

GyDi 3 년 전
부모
커밋
6ea567742b
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      src-tauri/Cargo.toml

+ 6 - 0
src-tauri/Cargo.toml

@@ -42,3 +42,9 @@ winreg = { version = "0.10", features = ["transactions"] }
 default = [ "custom-protocol" ]
 custom-protocol = [ "tauri/custom-protocol" ]
 verge-dev = []
+
+[profile.release]
+panic = "abort"
+codegen-units = 1
+lto = true
+opt-level = "s"