Skip to content

Commit

Permalink
Minimize binary size in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Dec 11, 2024
1 parent 69724de commit 3b1ed0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/simulator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,9 @@ u8g2-fonts = { path = "../..", features = [
embedded-graphics = "0.8.0"
embedded-graphics-simulator = "0.5.0"
anyhow = "1.0.71"

[profile.release]
strip = true # Automatically strip symbols from the binary.
lto = true
codegen-units = 1

0 comments on commit 3b1ed0d

Please sign in to comment.