Skip to content

Commit

Permalink
fix: improved release build size
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Nov 16, 2023
1 parent adae139 commit 459a32e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,7 @@ scylla = ["dep:scylla"]
tcp_ports = []

[profile.release]
debug = true
lto = true # Enable link-time optimization
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic
strip = true # Strip symbols from binary*

0 comments on commit 459a32e

Please sign in to comment.