Skip to content

Commit d97a32c

Browse files
committed
Pin libc crate version to 0.2.159
1 parent a0677a1 commit d97a32c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tokio/Cargo.toml

+3-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ tracing = { version = "0.1.29", default-features = false, features = ["std"], op
109109
backtrace = { version = "0.3.58" }
110110

111111
[target.'cfg(unix)'.dependencies]
112-
libc = { version = "0.2.149", optional = true }
112+
113+
# Seems like the new version of the crate breaks cross compilation on ubuntu
114+
libc = { version = ">=0.2.149, <=0.2.159", optional = true }
113115
signal-hook-registry = { version = "1.1.1", optional = true }
114116

115117
[target.'cfg(unix)'.dev-dependencies]

0 commit comments

Comments
 (0)