summaryrefslogtreecommitdiff
path: root/ext/ffi/Cargo.toml
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2021-10-06 05:43:56 +0530
committerGitHub <noreply@github.com>2021-10-06 02:13:56 +0200
commit2b39e744777eb1fd7ee2ce7e35c44dcccfc7d193 (patch)
treec6da857c3dd11079cf8ad4a3a3bb2378248c5266 /ext/ffi/Cargo.toml
parent37a24c7bdfb7bedfaf95808d370acb70951b7f13 (diff)
fix(ext/ffi): formatting dlopen errors on Windows (#12301)
Diffstat (limited to 'ext/ffi/Cargo.toml')
-rw-r--r--ext/ffi/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
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"] }