On Web, implement Send and Sync where appropriate (#2834)
This commit is contained in:
parent
eb2d3894ef
commit
8f7f3efc0d
21 changed files with 609 additions and 196 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue