Skip to content

Commit

Permalink
create new release-lto profile
Browse files Browse the repository at this point in the history
  • Loading branch information
LegitCamper committed Aug 18, 2024
1 parent 091516a commit 0dd3f5e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@ description = "iced browser widgets"
repository = "https://github.com/LegitCamper/rust-browser"

[profile.release]
opt-level = 3
codegen-units = 1
lto = "fat"
strip = "debuginfo"
panic = "abort"
incremental = true

[profile.release-lto]
codegen-units = 1
inherits = "release"
opt-level = 3
lto = "fat"

[profile.dev]
incremental = true
opt-level = "s"
Expand Down

0 comments on commit 0dd3f5e

Please sign in to comment.