test(core-remote): assert_not_impl_any!(Global: Send, Sync)

This commit is contained in:
Erich Gubler authored and mergify[bot] committed 2026-10-05 15:05:01 +00:00
1 parent e377b7a73b
commit 34530a54d1
3 files changed
+6

No files matched your search

Generated
+1
View File
@@ -4931,6 +4931,7 @@ version = "30.0.0"
dependencies = [
"raw-window-handle",
"serde",
"static_assertions",
"wgpu-core",
"wgpu-core-remote-types",
"wgpu-hal",
+1
View File
@@ -31,6 +31,7 @@ serde = ["dep:serde", "wgpu-types/serde", "wgpu-core/serde"]
[dependencies]
raw-window-handle.workspace = true
serde = { workspace = true, optional = true }
static_assertions = { workspace = true }
wgpu-core = { workspace = true, default-features = false }
wgpu-core-remote-types.workspace = true
wgpu-hal = { workspace = true, default-features = false }
+4
View File
@@ -392,3 +392,7 @@ impl fmt::Debug for Global {
f.debug_struct("Global").finish()
}
}
// Force the Rust compiler to compute `Send + Sync` for `Global`, which can avoid `recursion_limit`
// issues in the resolver.
static_assertions::assert_not_impl_any!(Global: Send, Sync);