move lto to faster_release provile

This commit is contained in:
Bryan Stitt 2023-07-28 12:17:20 -07:00
parent 89bbd00215
commit 5f04978884

View File

@ -14,11 +14,11 @@ resolver = "2"
[profile.release]
# `debug = true` so that sentry can give us line numbers
debug = true
# `link time optimization = true = fat`
lto = true
[profile.faster_release]
inherits = "release"
# spend longer compiling for a faster binary
codegen-units = 1
# `link time optimization = true = fat`
lto = true