mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-07-20 05:15:44 +00:00
Update the release profile
This commit is contained in:
@@ -78,12 +78,3 @@ features = [
|
|||||||
inherits = "release"
|
inherits = "release"
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|
||||||
# We set the `panic` behavior to `unwind` in both the `release` and `dev` profiles since our async
|
|
||||||
# runtime attempts to catch panics and it can only catch panics if we compile our code with unwind
|
|
||||||
# as the panic behavior. For more information, please see the `catch_unwind` documentation where it
|
|
||||||
# mentions that panics can only be caught if they unwind and not if they abort:
|
|
||||||
# https://doc.rust-lang.org/std/panic/fn.catch_unwind.html#notes
|
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
panic = "unwind"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user