Files
winit/tests/sync_object.rs
T
2022-12-25 10:57:27 +03:00

10 lines
202 B
Rust

#[allow(dead_code)]
fn needs_sync<T: Sync>() {}
#[cfg(not(wasm_platform))]
#[test]
fn window_sync() {
// ensures that `winit::Window` implements `Sync`
needs_sync::<winit::window::Window>();
}