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