Skip to content

Commit 3c7e654

Browse files
committed
Enable LTO and maximum compression.
"s" results in a smaller file size than "z"
1 parent 386f7a8 commit 3c7e654

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ edition = "2018"
1313
exclude = ["ci/**/*", "docs/**/*", "appveyor.yml", ".travis.yml", "pkg/**/*"]
1414
build = "build.rs"
1515

16+
[profile.release]
17+
lto = true
18+
opt-level = "s"
19+
1620
[badges]
1721
travis-ci = { repository = "arusahni/git-req" }
1822
appveyor = { repository = "arusahni/git-req" }

0 commit comments

Comments
 (0)