Remove libc dependency on non-linux platforms (#1976)
This commit is contained in:
parent
5a65347c4e
commit
8c91986dd3
3 changed files with 8 additions and 7 deletions
|
|
@ -24,7 +24,6 @@ wayland = ["wayland-client", "sctk"]
|
|||
[dependencies]
|
||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
||||
lazy_static = "1"
|
||||
libc = "0.2.64"
|
||||
log = "0.4"
|
||||
serde = { version = "1", optional = true, features = ["serde_derive"] }
|
||||
raw-window-handle = "0.3"
|
||||
|
|
@ -90,6 +89,7 @@ mio-misc = { version = "1.0", optional = true }
|
|||
x11-dl = { version = "2.18.5", optional = true }
|
||||
percent-encoding = { version = "2.0", optional = true }
|
||||
parking_lot = { version = "0.11.0", optional = true }
|
||||
libc = "0.2.64"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies.web_sys]
|
||||
package = "web-sys"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue