From 3dc2b41ce6789706d2bf85534dcca3125d7e9769 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 25 Jul 2024 16:16:59 -0500 Subject: [PATCH] fix: Workaround bad minimal-versions --- Cargo.lock | 1 + Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index b90d51d..489d406 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -60,6 +60,7 @@ dependencies = [ "bstr", "doc-comment", "escargot", + "libc", "predicates", "predicates-core", "predicates-tree", diff --git a/Cargo.toml b/Cargo.toml index 8fd882e..0530d20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -130,6 +130,9 @@ bstr = "1.0.1" anstream = { version = "0.6.7", optional = true } anstyle = "1.0.0" +[target.'cfg(unix)'.dependencies] +libc = "0.2.137" # hack around a bad minimal version + [dev-dependencies] escargot = "0.5" automod = "1.0.14"