Browse Source

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

fq2_neg_nonresidue
Dev Ojha 3 years ago
committed by GitHub
parent
commit
cd88721883
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -0
      Cargo.toml

+ 1
- 0
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

+ 2
- 0
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

Loading…
Cancel
Save