Skip to content

Commit dcf0220

Browse files
chore(types): add web_sys_unstable_apis to lints.rust.unexpected_cfgs.check-cfg
1 parent 827078f commit dcf0220

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wgpu-types/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ serde = ["dep:serde"]
3434
# Enables some internal instrumentation for debugging purposes.
3535
counters = []
3636

37+
[lints.rust]
38+
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }
39+
3740
[dependencies]
3841
bitflags.workspace = true
3942
serde = { workspace = true, features = ["derive"], optional = true }

0 commit comments

Comments
 (0)