Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #517 from cgwalters/add-releaselto
Browse files Browse the repository at this point in the history
Cargo.toml: Update `release` profile, add `releaselto`
  • Loading branch information
jmarrero authored Aug 22, 2023
2 parents 8502306 + 6792973 commit a6041e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ opt-level = 1 # No optimizations are too slow for us.

[profile.release]
lto = "thin"
# We use FFI so this is safest
panic = "abort"
# We assume we're being delivered via e.g. RPM which supports split debuginfo
debug = true

[profile.releaselto]
codegen-units = 1
inherits = "release"
lto = "yes"

0 comments on commit a6041e6

Please sign in to comment.