eculocate

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 6a0614aade985e21b8b289eef0a1f32bcc2df952
parent 365687e60b00285ecc1c10b6904b13f733815934
Author: Daniel Barlow <dan@telent.net>
Date:   Tue, 20 Jan 2026 19:36:30 +0000

move profiles to the workspace root

Diffstat:
MCargo.toml | 15+++++++++++++++
Mecu-esp32/Cargo.toml | 15---------------
2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml @@ -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 diff --git a/ecu-esp32/Cargo.toml b/ecu-esp32/Cargo.toml @@ -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