Skip to content

Commit

Permalink
strip release build
Browse files Browse the repository at this point in the history
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
  • Loading branch information
blt committed Nov 6, 2024
1 parent 759c7c8 commit bbc6155
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ uuid = { version = "1.11", default-features = false, features = ["v4", "serde"]
once_cell = { version = "1.20" }

[profile.release]
strip = true # Strip debug symbols from the binary.
lto = true # Optimize our binary at link stage.
codegen-units = 1 # Increases compile time but improves optmization alternatives.
opt-level = 3 # Optimize with 'all' optimization flipped on. May produce larger binaries than 's' or 'z'.
Expand Down

0 comments on commit bbc6155

Please sign in to comment.