Skip to content

Commit 88c6efe

Browse files
committed
perf: Add panic=abort and opt-level=s to release profile
Taken together this reduces binary size by around 33%
1 parent b2f757e commit 88c6efe

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,5 @@ harness = false
7272
strip = true
7373
lto = true
7474
codegen-units = 1
75+
panic = "abort"
76+
opt-level = "s"

0 commit comments

Comments
 (0)