Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Commit 7bf7465

Browse files
committed
fix: strip debug symbols from release builds
for smaller code size. On my x86_64 GNU/Linux maching, the release binary shrank from 3.7M to 2.1M.
1 parent 9c6a818 commit 7bf7465

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ semantic-release-rust = "1.0.0-alpha.8"
2121
[profile.release]
2222
lto = true
2323
codegen-units = 1
24+
strip = true

0 commit comments

Comments
 (0)