浏览代码

add release prof options

Samir Menon 2 年之前
父节点
当前提交
5598725dee
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Cargo.toml

+ 5 - 0
Cargo.toml

@@ -14,3 +14,8 @@ criterion = "0.3"
 [[bench]]
 name = "ntt"
 harness = false
+
+[profile.release]
+lto = "fat"
+codegen-units = 1
+panic = "abort"