Cargo.toml: Enable full LTO in release builds and thin in dev builds. #704

Merged
lx merged 1 commit from jpds/garage:release-build-lto into main 2024-02-07 16:37:03 +00:00
Showing only changes of commit 620664ee9c - Show all commits

View file

@ -131,7 +131,10 @@ aws-sdk-config = "1.13"
aws-sdk-s3 = "1.14" aws-sdk-s3 = "1.14"
[profile.dev] [profile.dev]
lto = "off" lto = "thin"
[profile.release] [profile.release]
debug = true lto = true
codegen-units = 1
opt-level = "s"
strip = true