aboutsummaryrefslogtreecommitdiff
path: root/examples/example-panic-unwind/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-panic-unwind/Cargo.toml')
-rw-r--r--examples/example-panic-unwind/Cargo.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/example-panic-unwind/Cargo.toml b/examples/example-panic-unwind/Cargo.toml
new file mode 100644
index 0000000..5d1c242
--- /dev/null
+++ b/examples/example-panic-unwind/Cargo.toml
@@ -0,0 +1,16 @@
+[package]
+name = "example-panic-unwind"
+version = "0.1.0"
+edition = "2024"
+
+[dependencies.mingling]
+path = "../../mingling"
+features = ["parser"]
+
+# Enable panic unwinding in release builds
+[profile.release]
+panic = "unwind"
+
+# Enable panic unwinding in dev builds
+[profile.dev]
+panic = "unwind"