Skip to content

Commit

Permalink
Switch to panic='abort' for safety across FFI boundaries (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
ValarDragon committed Jan 21, 2021
1 parent 8d76d18 commit 1ebaf95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ The main features of this release are:
whose leading coefficients cancel.
- #160 (ark-serialize, ark-ff, ark-ec) Support serializing when `MODULUS_BITS + FLAG_BITS` is greater than the multiple of 8 just greater than `MODULUS_BITS`, which is the case for the Pasta curves (fixes #47).
- #165 (ark-ff) Enforce in the type system that an extension fields `BaseField` extends from the correct `BasePrimeField`.
- #184 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries.

## v0.1.0 (Initial release of arkworks/algebra)
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ members = [
opt-level = 3
lto = "thin"
incremental = true
panic = 'abort'

[profile.bench]
opt-level = 3
Expand All @@ -30,6 +31,7 @@ debug-assertions = false

[profile.dev]
opt-level = 0
panic = 'abort'

[profile.test]
opt-level = 3
Expand Down

0 comments on commit 1ebaf95

Please sign in to comment.