mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 20:14:21 +01:00
The built-in `unreachable!` macro, believe it or not is just an alias for `panic!` and does not actually provide the compiler with a hint that the path is not reachable. This provides a wrapper around the actual `std::hint::unreachable_unchecked()`, to be used only in the very hot path of `execute` where it is not possible to be the incorrect variant. Closes #2459