22 lines
497 B
TOML
22 lines
497 B
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["ecu-esp32", "ecu-portable"]
|
|
|
|
[patch.crates-io]
|
|
esp-hal-ota = { path = "vendor/esp-hal-ota" }
|
|
|
|
|
|
[profile.dev]
|
|
# Rust debug is too slow.
|
|
# For debug builds always builds with some optimization
|
|
opt-level = "s"
|
|
|
|
[profile.release]
|
|
codegen-units = 1 # LLVM can perform better optimizations using a single thread
|
|
debug = 2
|
|
debug-assertions = false
|
|
incremental = false
|
|
lto = 'fat'
|
|
opt-level = 's'
|
|
overflow-checks = false
|