We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
web_sys_unstable_apis
lints.rust.unexpected_cfgs.check-cfg
wgpu_{hal,types}
1 parent 7dcdb76 commit 91425c2Copy full SHA for 91425c2
wgpu-hal/Cargo.toml
@@ -106,6 +106,9 @@ device_lost_panic = []
106
# Only affects the d3d12 and vulkan backends.
107
internal_error_panic = []
108
109
+[lints.rust]
110
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }
111
+
112
[[example]]
113
name = "halmark"
114
wgpu-types/Cargo.toml
@@ -34,6 +34,9 @@ serde = ["dep:serde"]
34
# Enables some internal instrumentation for debugging purposes.
35
counters = []
36
37
38
39
40
[dependencies]
41
bitflags.workspace = true
42
serde = { workspace = true, features = ["derive"], optional = true }
0 commit comments