Add firmware-devel profile to cargo config

This speeds up compile time in exchange for binary size,
which is often a worthy trade-off in development when iteration speed
matters.
This commit is contained in:
Sashanoraa
2025-07-27 16:16:25 -04:00
committed by Cooper Quintin
parent 5b6a73bc44
commit b859dde0c8
+5
View File
@@ -36,6 +36,11 @@ lto = "fat"
opt-level = "z"
strip = "debuginfo"
[profile.firmware-devel]
inherits = "release"
opt-level = "s"
lto = false
# optimizations to reduce the binary size of firmware binaries
[profile.firmware]
inherits = "release"