move profiles to the workspace root
This commit is contained in:
+15
@@ -4,3 +4,18 @@ 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
|
||||
|
||||
@@ -76,18 +76,3 @@ esp-hal-ota = { version = "0.4.5", features = [
|
||||
] }
|
||||
esp-storage = { version = "0.8.1", features = [ "esp32c3" ] }
|
||||
embedded-storage = "0.3.1"
|
||||
|
||||
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user