Skip to content

Commit 359d0cf

Browse files
committed
⚡️ smol binary
1 parent 5b88156 commit 359d0cf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,10 @@ chumsky = { git = "https://github.com/zesterer/chumsky.git", rev = "716bec8" }
2424
[profile.profiling]
2525
inherits = "release"
2626
debug = true
27+
28+
29+
[profile.release]
30+
opt-level = "z" # Optimize for size ("z" is smaller than "s")
31+
lto = true # Enable Link Time Optimization
32+
codegen-units = 1 # Better optimizations, slower compile
33+
panic = "abort" # Remove unwinding machinery

0 commit comments

Comments
 (0)