chore: Set to abort on panic

This shaves ~20% size off the desktop build.
This commit is contained in:
Mike Welsh 2020-03-16 01:16:15 -07:00
parent 893f0fe9e2
commit a0bc9d3ec9
1 changed files with 6 additions and 0 deletions

View File

@ -11,3 +11,9 @@ members = [
# Don't optimize build scripts and macros. # Don't optimize build scripts and macros.
[profile.release.build-override] [profile.release.build-override]
opt-level = 0 opt-level = 0
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"