Browse Source

Switch to panic='abort' for safety across FFI boundaries (#47)

Co-authored-by: Pratyush Mishra <pratyushmishra@berkeley.edu>
master
Dev Ojha 3 years ago
committed by GitHub
parent
commit
1f83ffdff4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +6
    -0
      Cargo.toml

+ 1
- 0
CHANGELOG.md

@ -26,6 +26,7 @@
- #29 Fix `to_non_unique_bytes` for `BLS12::G1Prepared` - #29 Fix `to_non_unique_bytes` for `BLS12::G1Prepared`
- #34 Fix `mul_by_inverse` for constants - #34 Fix `mul_by_inverse` for constants
- #42 Fix regression in `mul_by_inverse` constraint count - #42 Fix regression in `mul_by_inverse` constraint count
- #47 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries.
## v0.1.0 ## v0.1.0

+ 6
- 0
Cargo.toml

@ -12,6 +12,12 @@ include = ["Cargo.toml", "src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
license = "MIT/Apache-2.0" license = "MIT/Apache-2.0"
edition = "2018" edition = "2018"
[profile.release]
panic = 'abort'
[profile.dev]
panic = 'abort'
[dependencies] [dependencies]
ark-ff = { git = "https://github.com/arkworks-rs/algebra", default-features = false } ark-ff = { git = "https://github.com/arkworks-rs/algebra", default-features = false }
ark-ec = { git = "https://github.com/arkworks-rs/algebra", default-features = false } ark-ec = { git = "https://github.com/arkworks-rs/algebra", default-features = false }

Loading…
Cancel
Save