From df38ba8e5bb5da9b3eb6f08393d72e3cb928284f Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 20 Jun 2024 20:04:05 +0200 Subject: [PATCH] smaller workspace file tweaks --- Cargo.toml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 17fa3df..d189036 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,17 +1,26 @@ [workspace] resolver = "2" -members = [ "examples/simple", +members = [ + "examples/simple", "va416xx", "va416xx-hal", "vorago-peb1" ] [profile.dev] -lto = false -debug = true +codegen-units = 1 +debug = 2 +debug-assertions = true # <- +incremental = false +opt-level = 'z' # <- +overflow-checks = true # <- +# cargo build/run --release [profile.release] -# Can be problematic for debugging -lto = true -debug = true -opt-level = 's' +codegen-units = 1 +debug = 2 +debug-assertions = false # <- +incremental = false +lto = 'fat' +opt-level = 3 # <- +overflow-checks = false # <-