change to depend on winapi only on windows

This commit is contained in:
Mark McCaskey 2019-05-21 11:23:24 -07:00
parent 8857e6d320
commit deb00c886c

View File

@ -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]