4
0
Эх сурвалжийг харах

chore: Pin `libc` to `0.2.163`

`0.2.164` and `0.2.165` are affected by rust-lang/libc#4149. Pin the
last working version until a proper fix is released.
Michal Rostecki 3 сар өмнө
parent
commit
c6ec4f9b80
1 өөрчлөгдсөн 4 нэмэгдсэн , 1 устгасан
  1. 4 1
      Cargo.toml

+ 4 - 1
Cargo.toml

@@ -70,7 +70,10 @@ epoll = { version = "4.3.3", default-features = false }
 futures = { version = "0.3.28", default-features = false }
 hashbrown = { version = "0.15.0", default-features = false }
 indoc = { version = "2.0", default-features = false }
-libc = { version = "0.2.105", default-features = false }
+# libc 0.2.164 and 0.2.165 are affected by
+# https://github.com/rust-lang/libc/issues/4149.
+# Pin the last working version until a proper fix is released.
+libc = { version = "=0.2.163", default-features = false }
 log = { version = "0.4", default-features = false }
 netns-rs = { version = "0.1", default-features = false }
 nix = { version = "0.29.0", default-features = false }