We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
web_sys_unstable_apis
lints.rust.unexpected_cfgs.check-cfg
wgpu_{hal,types}
1 parent 4c3df69 commit 99df369Copy full SHA for 99df369
wgpu-hal/Cargo.toml
@@ -105,6 +105,9 @@ device_lost_panic = []
105
# Only affects the d3d12 and vulkan backends.
106
internal_error_panic = []
107
108
+[lints.rust]
109
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }
110
+
111
[[example]]
112
name = "halmark"
113
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