Add support to stack unwind panic strategy #692
Labels
[C] Feature / Enhancement
A new feature request or enhancement to an existing feature.
[E] Unsupported Construct
Add support to an unsupported construct
Requested feature: We would like to be able to verify the logic that is triggered while unwinding a panic statement.
Use case: Programs sometimes rely on the unwind logic to ensure that there is not resource leak or persistent data inconsistency. Thus, it is important to users to be able to verify that the program will correctly handle its resource if a panic occurs.
Link to relevant documentation (Rust reference, Nomicon, RFC): N/A
Is this a breaking change?
Test case:
With stack unwinding, the assertion inside the DummyResource::drop() should fail. However, with the abort strategy, the same assertion should hold.
The text was updated successfully, but these errors were encountered: