Make iced_wgpu build on redox

This commit is contained in:
Jeremy Soller 2024-10-09 10:02:48 -06:00 • committed by Ashley Wulber
parent 08fe1f3aa5
commit 64ef6b2724
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 56 additions and 71 deletions

View file

@ -47,7 +47,8 @@ lyon.optional = true
resvg.workspace = true
resvg.optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "redox")))'.dependencies]
rustix = { version = "0.38" }
raw-window-handle.workspace = true
sctk.workspace = true