浏览代码

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