Add production profile (#934)

* Add production profile

* Fix opt-level

* Update Cargo.toml

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* Move opt-level to release

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Chevdor
2022-01-25 15:46:05 +01:00
committed by GitHub
parent cbae45a27d
commit ced952c1ce
+6
View File
@@ -41,3 +41,9 @@ members = [
[profile.release] [profile.release]
panic = "unwind" panic = "unwind"
opt-level = 3
[profile.production]
inherits = "release"
lto = true
codegen-units = 1