Abort on panic in release

This should help both runtime performance and side of the executable.

And I can't think of a reason why we would need unwinding on panic in
release builds.
This commit is contained in:
Thayne McCombs
2024-06-07 16:53:41 -06:00
parent 42b2ab8a84
commit cf8a48aed9
+1
View File
@@ -90,6 +90,7 @@ debug = true
lto = true
strip = true
codegen-units = 1
panic = "abort"
[features]
use-jemalloc = ["tikv-jemallocator"]