From c6ec4f9b80cb2b428b4692b8cf1cb252c8c46daf Mon Sep 17 00:00:00 2001 From: Michal Rostecki Date: Tue, 26 Nov 2024 17:12:31 +0100 Subject: [PATCH] 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. --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fc974e0c7..2361ffe34 100644 --- a/Cargo.toml +++ b/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 }