diff options
author | Alex <alex@adnab.me> | 2024-02-07 16:37:02 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-02-07 16:37:02 +0000 |
commit | 59930977e074a78adaf43f9933612dae835804cf (patch) | |
tree | 3b0cd0d66f7bd242457c06a0c4114542225c6fec /Cargo.toml | |
parent | 5d941e0100489fff552b59f0679a2a010403a21c (diff) | |
parent | 620664ee9c550636fdbcdf57e428569ac1694603 (diff) | |
download | garage-59930977e074a78adaf43f9933612dae835804cf.tar.gz garage-59930977e074a78adaf43f9933612dae835804cf.zip |
Merge pull request 'Cargo.toml: Enable full LTO in release builds and thin in dev builds.' (#704) from jpds/garage:release-build-lto into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/704
Diffstat (limited to 'Cargo.toml')
-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 |