You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In today's Rust, constants and statics can't contain destructors, and this prevents them from containing things like None : Option<Box<_>>. However, destructors are entirely memory safe, even if they don't get run - they can only leak resources, and this is relatively harmless, as you can't allocate resources in statics.
There's the problem of destructors being used to flush things, but I don't think this will be particularly evil.