Skip to content

Commit

Permalink
Enable Link-Time Optimization (LTO) #1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu999 committed Dec 3, 2024
1 parent 7b2584d commit 04d4148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ version = "0.3.4"

[profile.release]
opt-level = 2 # fast and small wasm
lto = true

# Optimize all dependencies even in debug builds:
[profile.dev.package."*"]
opt-level = 2


[patch.crates-io]

# If you want to use the bleeding edge version of egui and eframe:
Expand Down

0 comments on commit 04d4148

Please sign in to comment.