0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

build: winapi is a windows-only dep

This commit is contained in:
Bert Belder 2019-01-13 23:43:00 +01:00
parent 69c370c5cc
commit 4f63aa4634
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
2 changed files with 5 additions and 1 deletions

View file

@ -43,8 +43,10 @@ main_extern = [
"$rust_build:tokio_process",
"$rust_build:tokio_threadpool",
"$rust_build:url",
"$rust_build:winapi",
]
if (is_win) {
main_extern += [ "$rust_build:winapi" ]
}
ts_sources = [
"js/assets.ts",

View file

@ -34,4 +34,6 @@ tokio-io = "=0.1.10"
tokio-process = "=0.2.3"
tokio-threadpool = "=0.1.9"
url = "=1.7.2"
[target.'cfg(windows)'.dependencies]
winapi = "=0.3.6"