diff --git a/Cargo.toml b/Cargo.toml index 628b540c..f81d1d6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,3 +16,10 @@ default-members = [ "rustler", "rustler_codegen", ] + +[profile.dev] +panic = "unwind" + +[profile.release] +panic = "unwind" + diff --git a/rustler/Cargo.toml b/rustler/Cargo.toml index c4138250..77de9e56 100644 --- a/rustler/Cargo.toml +++ b/rustler/Cargo.toml @@ -31,12 +31,6 @@ serde = { version = "1", optional = true } [build-dependencies] regex-lite = "0.1" -[profile.dev] -panic = "unwind" - -[profile.release] -panic = "unwind" - [package.metadata.release] [[package.metadata.release.pre-release-replacements]]