mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
Ensure all free unixes can build
This fixes the `cfg` guards inside the `Cargo.toml`.
This commit is contained in:
parent
490abcad14
commit
08ce3af3e1
|
@ -103,7 +103,7 @@ features = [
|
||||||
"Win32_UI_WindowsAndMessaging",
|
"Win32_UI_WindowsAndMessaging",
|
||||||
]
|
]
|
||||||
|
|
||||||
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
|
[target.'cfg(all(unix, not(any(target_os = "redox", target_arch = "wasm32", target_os = "android", target_os = "ios", target_os = "macos"))))'.dependencies]
|
||||||
libc = "0.2.64"
|
libc = "0.2.64"
|
||||||
mio = { version = "0.8", features = ["os-ext"], optional = true }
|
mio = { version = "0.8", features = ["os-ext"], optional = true }
|
||||||
percent-encoding = { version = "2.0", optional = true }
|
percent-encoding = { version = "2.0", optional = true }
|
||||||
|
|
Loading…
Reference in a new issue