#[allow(dead_code)] fn needs_send() {} #[cfg(not(wasm_platform))] #[test] fn event_loop_proxy_send() { #[allow(dead_code)] fn is_send() { // ensures that `winit::EventLoopProxy` implements `Send` needs_send::>(); } } #[cfg(not(wasm_platform))] #[test] fn window_send() { // ensures that `winit::Window` implements `Send` needs_send::(); } #[test] fn ids_send() { // ensures that the various `..Id` types implement `Send` needs_send::(); needs_send::(); needs_send::(); }