diff options
author | yuri <1969yuri1969@gmail.com> | 2019-10-13 06:33:47 +0200 |
---|---|---|
committer | Matan Kushner <hello@matchai.me> | 2019-10-13 13:33:47 +0900 |
commit | 364f3a3564d691c2e1abb2a5e351a56c8b3293a1 (patch) | |
tree | aba45f094bb6fedb2590e5855cac754000f1c196 /Cargo.toml | |
parent | cc68dec795b2388c2f1d7bf5326aad4273fa474b (diff) |
build: Improve release binary optimization (#527)
Diffstat (limited to 'Cargo.toml')
-rw-r--r-- | Cargo.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml index 7d2ef9402..0dacdd87d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,6 +49,10 @@ yaml-rust = "0.4" [dev-dependencies] tempfile = "3.1.0" +[profile.release] +codegen-units = 1 +lto = true + [[bin]] name = "starship" path = "src/main.rs" |