arnaucube
arnaucube/ark-curves-cherry-pickedPublic Self-hosted repository
Switch to panic='abort' for safety across FFI boundaries (#38)

Dev Ojha ValarDragon@users.noreply.github.com
Thu, 21 Jan 2021 14:51:10 -0600
commit

cd8872188389a61ffbbca2c78efbcd3426904c3d

parent

6ed2450b5505de5d451f629bb6642e3977bf66e2

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CHANGELOG.md → CHANGELOG.md

@@ -22,6 +22,7 @@ - #19 Change field constants to be provided as normal strings, instead of in montgomery form.

### 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
M Cargo.toml → Cargo.toml

@@ -36,6 +36,7 @@ [profile.release]

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