From 3254466fd2567c157127391fd87343605ffd2d71 Mon Sep 17 00:00:00 2001 From: kadiwa Date: Sun, 20 Aug 2023 20:34:03 +0200 Subject: [PATCH] stop using feature "libc/std" --- 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"]