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_send<T: Send>() {}
|
||||
|
||||
#[cfg(not(wasm_platform))]
|
||||
#[test]
|
||||
fn event_loop_proxy_send() {
|
||||
#[allow(dead_code)]
|
||||
@@ -11,7 +10,6 @@ fn event_loop_proxy_send() {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(wasm_platform))]
|
||||
#[test]
|
||||
fn window_send() {
|
||||
// ensures that `winit::Window` implements `Send`
|
||||
|
||||
Reference in New Issue
Block a user