reduce binary size. turns out debug symbols aren't free.

This commit is contained in:
bunnie 2022-06-06 23:49:42 +08:00
parent d61732a3aa
commit d92974df5a

View file

@ -96,7 +96,8 @@ exclude = [
[profile.release]
codegen-units = 1 # 1 better optimizations
debug = true # symbols are nice and they don't increase the size on Flash
debug = false
strip = true
lto = "fat"
incremental = true
#panic = "abort" # Remove panic output, which can reduce file size