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
The ExaWebSocket::get_or_prepare() method currently does a double-lookup in the LRU cache due to a borrow-checker limitation.
While using unsafe would solve the problem soundly, it felt somewhat wrong given sqlx's no unsafe paradigm.
This issue is created to track the development of the limitation in the hope that it can get overcome someday in safe Rust.
The text was updated successfully, but these errors were encountered:
The
ExaWebSocket::get_or_prepare()
method currently does a double-lookup in theLRU
cache due to a borrow-checker limitation.While using
unsafe
would solve the problem soundly, it felt somewhat wrong givensqlx
's no unsafe paradigm.This issue is created to track the development of the limitation in the hope that it can get overcome someday in safe Rust.
The text was updated successfully, but these errors were encountered: