mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
chore: add web_sys_unstable_apis to lints.rust.unexpected_cfgs.check-cfg in wgpu_{hal,types}
This commit is contained in:
parent
143403cad1
commit
b2c9b0af5a
@ -108,6 +108,9 @@ device_lost_panic = []
|
|||||||
# Only affects the d3d12 and vulkan backends.
|
# Only affects the d3d12 and vulkan backends.
|
||||||
internal_error_panic = []
|
internal_error_panic = []
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "halmark"
|
name = "halmark"
|
||||||
|
|
||||||
|
|||||||
@ -34,6 +34,9 @@ serde = ["dep:serde"]
|
|||||||
# Enables some internal instrumentation for debugging purposes.
|
# Enables some internal instrumentation for debugging purposes.
|
||||||
counters = []
|
counters = []
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(web_sys_unstable_apis)'] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = { workspace = true, features = ["serde"] }
|
bitflags = { workspace = true, features = ["serde"] }
|
||||||
serde = { workspace = true, features = ["derive"], optional = true }
|
serde = { workspace = true, features = ["derive"], optional = true }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user