From d8a653b1b91922685b8d2889f9d6a3cd5c51eff9 Mon Sep 17 00:00:00 2001 From: kadiwa Date: Sun, 20 Aug 2023 20:46:14 +0200 Subject: [PATCH] Stop using feature "libc/std" (#860) --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 493df0eab..7e77025f8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,9 @@ edition = "2018" jobserver = { version = "0.1.16", optional = true } [target.'cfg(unix)'.dependencies] -libc = "0.2.62" +# Don't turn on the feature "std" for this, see https://github.com/rust-lang/cargo/issues/4866 +# which is still an issue with `resolver = "1"`. +libc = { version = "0.2.62", default-features = false } [features] parallel = ["jobserver"]