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.
This commit is contained in:
bunnie 2022-10-19 16:01:49 +08:00 committed by GitHub
parent 3e35fde660
commit df17ed0f21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"
# path = "./services/xous-susres"