Prepare for adding theseus

This commit is contained in:
Jai A
2024-07-03 13:25:49 -07:00
parent 10785f156f
commit d33a0cd589
26 changed files with 23 additions and 1 deletions

View File

@@ -7,5 +7,21 @@ members = [
'./apps/theseus_playground',
]
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
# Optimize for speed and reduce size on release builds
[profile.release]
lto = true
panic = "abort" # Strip expensive panic clean-up logic
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
lto = true # Enables link to optimizations
opt-level = "s" # Optimize for binary size
strip = true # Remove debug symbols