Skip to content

Commit

Permalink
Enable lto for release profile
Browse files Browse the repository at this point in the history
This was removed in fe271ee, looks like
for some compiler issues with SFML, but we don't have that anymore,
and this will give us some performance and size benefits.

Signed-off-by: Amjad Alsharafi <26300843+Amjad50@users.noreply.github.com>
  • Loading branch information
Amjad50 committed Oct 20, 2024
1 parent 712d79a commit 9f39793
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 @@ -10,6 +10,7 @@ default-members = ["plastic_ui"]
opt-level = 2

[profile.release]
lto = true
opt-level = 3

[profile.ci]
Expand Down

0 comments on commit 9f39793

Please sign in to comment.