There are proposals to abort when drop panics, at which point all drop functions could be marked as non unwinding.
github.com/rust-lang/rfcs
Don't allow unwinding from Drop impls (#3288)
master ← Amanieu:panic-in-drop
opened 01:02AM - 05 Jul 22 UTC
Amanieu
+332
-0
This RFC proposes to change this behavior to always abort if a panic attempts to… escape a…