Add WasmNotSendSync (#4702)

This commit is contained in:
daxpedda authored and GitHub committed 2023-11-16 19:47:10 -05:00
1 parent 3ec547cdca
commit bec6560e10
6 files changed
+63 -67

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
use std::sync::Arc;
use wgpu::{Instance, Surface, WasmNotSend, WasmNotSync};
use wgpu::{Instance, Surface, WasmNotSendSync};
use wgpu_test::GpuTestConfiguration;
use winit::{
dpi::PhysicalSize,
@@ -504,7 +504,7 @@ pub struct ExampleTestParams<E> {
pub _phantom: std::marker::PhantomData<E>,
}
impl<E: Example + WasmNotSend + WasmNotSync> From<ExampleTestParams<E>> for GpuTestConfiguration {
impl<E: Example + WasmNotSendSync> From<ExampleTestParams<E>> for GpuTestConfiguration {
fn from(params: ExampleTestParams<E>) -> Self {
GpuTestConfiguration::new()
.name(params.name)