diff --git a/CHANGELOG.md b/CHANGELOG.md index 200ee05..e88f18c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ ### Bug fixes - #28 fix broken documentation links +- #38 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries. ## v0.1.0 diff --git a/Cargo.toml b/Cargo.toml index 2a4e6ed..ab11445 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,7 @@ members = [ opt-level = 3 lto = "thin" incremental = true +panic = 'abort' [profile.bench] opt-level = 3 @@ -47,6 +48,7 @@ debug-assertions = false [profile.dev] opt-level = 0 +panic = 'abort' [profile.test] opt-level = 3