Fix potential UB by removing reliance on trait object layout
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Adds a raw vtable object (similar to `RawWakerVTable`) that is manually created and has methods to dynamically cast to `dyn StdError`.
authored by John Schug · committed by John Schug · parent 8571666 · Browse files · 1 file+27 added−24 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+27 added−24 removed
- other:+27 added−24 removed