Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
9
third-party/vendor/winit/tests/sync_object.rs
vendored
Normal file
9
third-party/vendor/winit/tests/sync_object.rs
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#[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>();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue