slimmed down the binary in release mode.

This commit is contained in:
Gabe Venberg 2023-10-29 20:41:34 -05:00
parent 4e4b314ccd
commit f859ea683e
3 changed files with 19 additions and 6 deletions

View file

@ -1,3 +1,10 @@
[workspace]
members = ["hardware_main", "independent_logic"]
resolver = "2"
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
panic = "abort"