๐Ÿ“ฆ tauri-apps / tao

๐Ÿ“„ sync_object.rs ยท 13 lines
1
2
3
4
5
6
7
8
9
10
11
12
13// 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>();
}