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 58b6f44 commit 788ce38Copy full SHA for 788ce38
wgpu-hal/Cargo.toml
@@ -108,6 +108,9 @@ device_lost_panic = []
108
# Only affects the d3d12 and vulkan backends.
109
internal_error_panic = []
110
111
+[lints.rust]
112
+unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }
113
+
114
[[example]]
115
name = "halmark"
116
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, features = ["serde"] }
42
serde = { workspace = true, features = ["derive"], optional = true }
0 commit comments