Skip to content

Commit 784be1a

Browse files
committed
build: configure release profile for smaller binaries
1 parent 13a0168 commit 784be1a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

git-foreach/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ repository = "https://github.com/marcfrederick/git-foreach"
1111
clap = { version = "4.5.20", features = ["derive", "cargo"] }
1212
git-walk = { path = "../git-walk" }
1313
rayon = "1.10.0"
14+
15+
[profile.release]
16+
lto = true
17+
strip = true
18+
opt-level = 3
19+
codegen-units = 1
20+
panic = 'abort'

0 commit comments

Comments
 (0)