Re-enable unwind on release profile

This commit is contained in:
Ericson Soares 2024-06-27 17:02:46 -03:00
parent 236d7730a3
commit d89db9eff0

View file

@ -143,7 +143,7 @@ incremental = false
# Optimize release builds
[profile.release]
panic = "abort" # Strip expensive panic clean-up logic
panic = "unwind" # Sadly we need unwind to avoid unexpected crashes on third party crates
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