From d375f50346b69b06efb3d844ce8eee5611996ae6 Mon Sep 17 00:00:00 2001 From: Joe Richey Date: Wed, 14 Aug 2019 16:57:08 -0700 Subject: [PATCH] Wasi does not need libc Small Cargo.toml nit that got missed in #64 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c310d936..dd43f3a4 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]