From 3d1d2ff3132b41f47ed7dc3602e096694ad13eaf Mon Sep 17 00:00:00 2001 From: Joseph Richey Date: Wed, 14 Aug 2019 17:10:22 -0700 Subject: [PATCH] Wasi does not need libc (#88) --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c310d93..dd43f3a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ cfg-if = "0.1" compiler_builtins = { version = "0.1", optional = true } core = { version = "1.0", optional = true, package = "rustc-std-workspace-core" } -[target.'cfg(any(unix, target_os = "redox", target_os = "wasi"))'.dependencies] +[target.'cfg(any(unix, target_os = "redox"))'.dependencies] libc = { version = "0.2.60", default-features = false } [target.'cfg(target_os = "wasi")'.dependencies]