Browse Source

add release prof options

Samir Menon 2 years ago
parent
commit
5598725dee
1 changed files with 5 additions and 0 deletions
  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"