diff options
author | Jonathan Davies <jpds@protonmail.com> | 2024-02-07 16:11:27 +0000 |
---|---|---|
committer | Jonathan Davies <jpds@protonmail.com> | 2024-02-07 16:11:27 +0000 |
commit | 620664ee9c550636fdbcdf57e428569ac1694603 (patch) | |
tree | 3b0cd0d66f7bd242457c06a0c4114542225c6fec | |
parent | 5d941e0100489fff552b59f0679a2a010403a21c (diff) | |
download | garage-620664ee9c550636fdbcdf57e428569ac1694603.tar.gz garage-620664ee9c550636fdbcdf57e428569ac1694603.zip |
Cargo.toml: Enable full LTO in release builds and thin in dev builds.
-rw-r--r-- | Cargo.toml | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -131,7 +131,10 @@ aws-sdk-config = "1.13" aws-sdk-s3 = "1.14" [profile.dev] -lto = "off" +lto = "thin" [profile.release] -debug = true +lto = true +codegen-units = 1 +opt-level = "s" +strip = true |