Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add production profile (#934)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
chevdor and bkchr authored Jan 25, 2022
1 parent e25e21f commit c70156b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@ members = [

[profile.release]
panic = "unwind"
opt-level = 3

[profile.production]
inherits = "release"
lto = true
codegen-units = 1

0 comments on commit c70156b

Please sign in to comment.