mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-15 09:03:35 -07:00
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:
committed by
Cooper Quintin
parent
5b6a73bc44
commit
b859dde0c8
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user