mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-23 02:16:33 +11:00
Add test for WindowProxy to implement Send
This commit is contained in:
parent
cd155ce8ea
commit
297a8cbb1d
1 changed files with 9 additions and 0 deletions
9
tests/window_proxy_send.rs
Normal file
9
tests/window_proxy_send.rs
Normal file
|
@ -0,0 +1,9 @@
|
|||
extern crate glutin;
|
||||
|
||||
#[cfg(feature = "window")]
|
||||
#[test]
|
||||
fn window_proxy_send() {
|
||||
// ensures that `glutin::WindowProxy` implements `Send`
|
||||
fn needs_send<T:Send>() {}
|
||||
needs_send::<glutin::WindowProxy>();
|
||||
}
|
Loading…
Add table
Reference in a new issue