diff options
author | gennyble <gen@nyble.dev> | 2023-08-25 23:23:45 -0500 |
---|---|---|
committer | gennyble <gen@nyble.dev> | 2023-08-25 23:23:45 -0500 |
commit | f8cc0ae9ae030aca2887dc2a1f57f314181c0a58 (patch) | |
tree | f3c58cc96e488a761ec9d03c4ec6fee70ddc7108 /Cargo.toml | |
parent | 5ba8d61dfa0d36f4d63f5eb6a6a466d1a6e8a6dd (diff) | |
download | whenwasit-f8cc0ae9ae030aca2887dc2a1f57f314181c0a58.tar.gz whenwasit-f8cc0ae9ae030aca2887dc2a1f57f314181c0a58.zip |
play with compilation profile
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml index fe0fe57..a1d0021 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,10 +10,16 @@ repository = "https://github.com/gennyble/whenwasit" camino = "1.1.6" getopts = "0.2.21" +# takes ~250K off the binary +[profile.release] +strip = true +codegen-units = 1 +panic = "abort" +lto = true + # The profile that 'cargo dist' will build with [profile.dist] inherits = "release" -lto = "thin" # Config for 'cargo dist' [workspace.metadata.dist] |