Fix crossterm compilation on macOS
This commit is contained in:
parent
70918570a9
commit
6ba46e5cbf
2 changed files with 2 additions and 1 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -271,6 +271,7 @@ dependencies = [
|
||||||
"crossterm_winapi",
|
"crossterm_winapi",
|
||||||
"filedescriptor",
|
"filedescriptor",
|
||||||
"futures-core",
|
"futures-core",
|
||||||
|
"libc",
|
||||||
"mio",
|
"mio",
|
||||||
"parking_lot",
|
"parking_lot",
|
||||||
"rustix",
|
"rustix",
|
||||||
|
|
|
@ -77,7 +77,7 @@ signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] }
|
||||||
libc = "0.2.155"
|
libc = "0.2.155"
|
||||||
|
|
||||||
[target.'cfg(target_os = "macos")'.dependencies]
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
crossterm = { version = "0.28", features = ["event-stream", "use-dev-tty"] }
|
crossterm = { version = "0.28", features = ["event-stream", "use-dev-tty", "libc"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
helix-loader = { path = "../helix-loader" }
|
helix-loader = { path = "../helix-loader" }
|
||||||
|
|
Loading…
Add table
Reference in a new issue