[fractal] build: Set panic = abort for all build profiles
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal] build: Set panic = abort for all build profiles
- Date: Tue, 16 Jul 2019 18:10:09 +0000 (UTC)
commit fba59402d37525285042f3ad38a577a225105349
Author: Christopher Davis <brainblasted disroot org>
Date: Thu Jul 11 02:24:20 2019 -0700
build: Set panic = abort for all build profiles
This change makes it easier for tools like coredumpctl
to detect panics.
Cargo.toml | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/Cargo.toml b/Cargo.toml
index 2b2d1801..9e7f8c14 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,3 +3,10 @@ members = [
"fractal-matrix-api",
"fractal-gtk",
]
+
+[profile.release]
+panic = "abort"
+
+[profile.dev]
+panic = "abort"
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]