From df17ed0f21c30a0cc810042c3a8ce63bc16222d2 Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 19 Oct 2022 16:01:49 +0800 Subject: [PATCH] add debugging into builds this will increase binary size but may help to trace down some instability issues we have seen crop up. probably root cause is something to do with loader init of bss, but other candidates include regression in rust 1.64 and possibly version/crate mismatch issues between api and service crates that were recently split. --- Cargo.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a0dd730aa..fced4e4dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -106,8 +106,8 @@ exclude = [ [profile.release] codegen-units = 1 # 1 better optimizations -debug = false -strip = true +debug = true # normally false for smaller size +strip = false # normally true for smaller size lto = "fat" incremental = true #panic = "abort" # Remove panic output, which can reduce file size @@ -171,4 +171,4 @@ path = "./api/xous-api-names" # [patch.crates-io.xous-api-susres] # path = "./api/xous-api-susres" # [patch.crates-io.xous-susres] -# path = "./services/xous-susres" \ No newline at end of file +# path = "./services/xous-susres"