From deb00c886c2f453a2c1c1abe90e7d8b828099bf3 Mon Sep 17 00:00:00 2001 From: Mark McCaskey Date: Tue, 21 May 2019 11:23:24 -0700 Subject: [PATCH] change to depend on winapi only on windows --- lib/wasi/Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/wasi/Cargo.toml b/lib/wasi/Cargo.toml index e59b45f96b2..cb9d5033932 100644 --- a/lib/wasi/Cargo.toml +++ b/lib/wasi/Cargo.toml @@ -19,6 +19,8 @@ log = "0.4.6" byteorder = "1.3.1" # hack to get tests to work wasmer-singlepass-backend = { path = "../singlepass-backend", version = "0.4.2", optional = true } + +[target.'cfg(windows)'.dependencies] winapi = "0.3" [build-dependencies]