Browse Source

Add release binary striping (#3727)

pull/3732/head
Iban Eguia Moraza 2 months ago committed by GitHub
parent
commit
12b988dbb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      Cargo.toml

3
Cargo.toml

@ -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]

Loading…
Cancel
Save