Skip to content

Commit

Permalink
Add release binary striping (#3727)
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican authored Mar 10, 2024
1 parent 4189aa2 commit 12b988d
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 12b988d

Please sign in to comment.