diff --git a/Cargo.toml b/Cargo.toml index 349d571ad..af4b3de75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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