mirror of
https://github.com/tauri-apps/tao.git
synced 2026-01-31 00:35:16 +01:00
13 lines
318 B
Rust
13 lines
318 B
Rust
// Copyright 2014-2021 The winit contributors
|
|
// Copyright 2021-2023 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#[allow(dead_code)]
|
|
fn needs_sync<T: Sync>() {}
|
|
|
|
#[test]
|
|
fn window_sync() {
|
|
// ensures that `Window` implements `Sync`
|
|
needs_sync::<tao::window::Window>();
|
|
}
|