Skip to content

Commit 6ac7bbe

Browse files
committed
Optimize for size
1 parent 47da3d6 commit 6ac7bbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ codegen-units = 1 # better optimizations
1212
debug = true # symbols are nice and they don't increase the size on Flash
1313
lto = true # better optimizations
1414
panic="abort"
15+
opt-level = "z" # Optimize for size.
1516

1617
[profile.dev]
1718
codegen-units = 1 # better optimizations

0 commit comments

Comments
 (0)