winit-sonoma-fix/tests/sync_object.rs

10 lines
167 B
Rust
Raw Normal View History

extern crate winit;
fn needs_sync<T:Sync>() {}
#[test]
fn window_sync() {
// ensures that `winit::Window` implements `Sync`
needs_sync::<winit::Window>();
}