From 2b39e744777eb1fd7ee2ce7e35c44dcccfc7d193 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 6 Oct 2021 05:43:56 +0530 Subject: fix(ext/ffi): formatting dlopen errors on Windows (#12301) --- ext/ffi/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/ffi/Cargo.toml') diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 8799cd2e0..73c4c8c26 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -19,3 +19,6 @@ dlopen = "0.1.8" libffi = { version = "=0.0.7", package = "deno-libffi" } serde = { version = "1.0.129", features = ["derive"] } tokio = { version = "1.10.1", features = ["full"] } + +[target.'cfg(windows)'.dependencies] +winapi = { version = "0.3.9", features = ["errhandlingapi", "minwindef", "ntdef", "winbase", "winnt"] } -- cgit v1.2.3