소스 검색

Add LTO+strip profile

David Peter 2 년 전
부모
커밋
2588b06b67
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      Cargo.toml

+ 5 - 0
Cargo.toml

@@ -10,3 +10,8 @@ members = [
 exclude = [
     "numbat-wasm"
 ]
+
+[profile.release]
+lto = true
+strip = true
+codegen-units = 1