mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-08 15:01:29 +01:00
Switch to panic='abort' for safety across FFI boundaries (#38)
This commit is contained in:
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
- #28 fix broken documentation links
|
- #28 fix broken documentation links
|
||||||
|
- #38 Compile with `panic='abort'` in release mode, for safety of the library across FFI boundaries.
|
||||||
|
|
||||||
## v0.1.0
|
## v0.1.0
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ members = [
|
|||||||
opt-level = 3
|
opt-level = 3
|
||||||
lto = "thin"
|
lto = "thin"
|
||||||
incremental = true
|
incremental = true
|
||||||
|
panic = 'abort'
|
||||||
|
|
||||||
[profile.bench]
|
[profile.bench]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
@@ -47,6 +48,7 @@ debug-assertions = false
|
|||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
opt-level = 0
|
opt-level = 0
|
||||||
|
panic = 'abort'
|
||||||
|
|
||||||
[profile.test]
|
[profile.test]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|||||||
Reference in New Issue
Block a user