mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-28 07:33:14 -04:00
On Web, implement Send and Sync where appropriate (#2834)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#[allow(dead_code)]
|
||||
fn needs_sync<T: Sync>() {}
|
||||
|
||||
#[cfg(not(wasm_platform))]
|
||||
#[test]
|
||||
fn window_sync() {
|
||||
// ensures that `winit::Window` implements `Sync`
|
||||
|
||||
Reference in New Issue
Block a user