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
Some types from the windows crate use pointers as their inner type in 0.58 compared to pointer sized numeric types in 0.54 which means that these types are now neither Send nor Sync and I don't have a good idea for how to handle this change.
Yeah, that's correct. I don't have a good answer, either. I'm going to stay on 0.54 for 0.8 and look into bumping later. I see the point in not making thread-unsafe handles Send and Sync, e.g. HWND is not completely thread safe, it does offer some not-greatly-documented concurrency guarantees but they don't map cleanly to however the Rust bindings are generated and I'm not sure there is/can be metadata support for it. This could be a good chance to review hudhook's concurrency assumptions: imgui is not thread safe at all either and it would be great if we managed to offer some guarantees that certain things are always called from the same thread. In practice, that's already so, but we have hooks and global statics and that makes things hard to formalize within the type system.
No description provided.
The text was updated successfully, but these errors were encountered: