slimmed down the binary in release mode.
This commit is contained in:
parent
4e4b314ccd
commit
f859ea683e
3 changed files with 19 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue