Skip to content

Commit

Permalink
Add release binary striping
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Mar 9, 2024
1 parent 8d12ea8 commit ef0c4d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,13 @@ incremental = false
lto = "fat"
# Makes sure that all code is compiled together, for LTO
codegen-units = 1
# Strips debug information and symbols from the binary, reducing its size
strip = "symbols"

[profile.release-dbg]
inherits = "release"
debug = true
strip = "none"

# The test profile, used for `cargo test`.
[profile.test]
Expand Down

0 comments on commit ef0c4d9

Please sign in to comment.