build docker image with lto

This commit is contained in:
Scott Lamb
2022-04-14 10:53:03 -07:00
parent fd7438dd28
commit cdfb61fb35
3 changed files with 6 additions and 1 deletions

View File

@@ -78,5 +78,9 @@ opt-level = 2
[profile.release]
debug = 1
[profile.release-lto]
inherits = "release"
lto = true
[profile.bench]
debug = 1