Remove the need for cfg_aliases in winit-core (#4271)

This commit is contained in:
Mads Marquart 2025-06-06 13:24:01 +02:00 committed by GitHub
parent b0f26c79ff
commit 478427b0bd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 18 additions and 34 deletions

View file

@ -23,11 +23,9 @@ rwh_06.workspace = true
serde = { workspace = true, optional = true }
smol_str.workspace = true
[target.'cfg(target_family = "wasm")'.dependencies]
# `wasm32-unknown-unknown` and `wasm32-none`, but not `wasm32-wasi`.
[target.'cfg(all(target_family = "wasm", any(target_os = "unknown", target_os = "none")))'.dependencies]
web-time.workspace = true
[build-dependencies]
cfg_aliases.workspace = true
[dev-dependencies]
winit.workspace = true