Enable link-time optimization for release builds
This creates faster and smaller binaries, at the cost of longer build times.
This commit is contained in:
parent
5b1121c9dd
commit
e11cf98b74
1 changed files with 2 additions and 0 deletions
|
|
@ -74,3 +74,5 @@ name = "oxipng"
|
|||
path = "src/lib.rs"
|
||||
[profile.dev]
|
||||
opt-level = 2
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue