Skip to content

Commit

Permalink
Enable thin LTO for release builds
Browse files Browse the repository at this point in the history
See https://doc.rust-lang.org/cargo/reference/profiles.html#release for the
release profile's defaults and
https://doc.rust-lang.org/cargo/reference/profiles.html#lto for an explanation
of link time optimizations (LTO).
  • Loading branch information
lafrenierejm committed Oct 14, 2024
1 parent 6b79490 commit d6430f8
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 @@ -71,4 +71,5 @@ tokio-test = "0.4.2"

[profile.release]
debug = true
lto = "thin"
split-debuginfo = "packed"

0 comments on commit d6430f8

Please sign in to comment.