Skip to content

Commit

Permalink
Enable LTO for the release profile
Browse files Browse the repository at this point in the history
Related to #16.

Signed-off-by: Kailun Qin <[email protected]>
  • Loading branch information
kailun-qin committed Jun 25, 2021
1 parent aa833b3 commit a549f74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ panic = "abort" # disable stack unwinding on panic

# the profile used for `cargo build --release`
[profile.release]
lto = true
panic = "abort" # disable stack unwinding on panic

0 comments on commit a549f74

Please sign in to comment.