diff options
author | Blaž Hrastnik | 2022-02-25 08:24:20 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-02-25 09:01:41 +0000 |
commit | 66637be700f3c50f2d00a7445bc1be52e1115f54 (patch) | |
tree | b0672c8cdeaa238eeda003537b2e4143bcc1e028 | |
parent | 8e07e1b8987e78535fb195560a4f12ca3d2be254 (diff) |
Add an optimised release profile
-rw-r--r-- | Cargo.toml | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -20,3 +20,10 @@ split-debuginfo = "unpacked" [profile.release] lto = "thin" # debug = true + +[profile.opt] +inherits = "release" +lto = "fat" +codegen-units = 1 +# strip = "debuginfo" # TODO: or strip = true +opt-level = 3 |