Skip to content

Commit c685c91

Browse files
committed
Enable LTO for release builds
1 parent b4b56c1 commit c685c91

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ failure = "0.1.5"
2121
clap = "2.33.0"
2222
indoc = "0.3.1"
2323

24+
[profile.release]
25+
lto = true
26+
codegen-units = 1
27+
2428

2529
[package.metadata.deb]
2630
maintainer = "Maximilian Luz <[email protected]>"

0 commit comments

Comments
 (0)