error mapping for windows!

This commit is contained in:
Pat Hickey
2021-01-22 15:44:32 -08:00
parent 423973a8ea
commit 19254bfd72
4 changed files with 76 additions and 29 deletions

View File

@@ -21,7 +21,6 @@ links = "wasi-c2-19"
[dependencies]
anyhow = "1.0"
thiserror = "1.0"
libc = "0.2"
wiggle = { path = "../wiggle", default-features = false, version = "0.22.0" }
tracing = "0.1.19"
system-interface = { version = "0.5.2", features = ["cap_std_impls"] }
@@ -29,6 +28,12 @@ cap-std = "0.11"
cap-rand = "0.11"
bitflags = "1.2"
[target.'cfg(unix)'.dependencies]
libc = "0.2"
[target.'cfg(windows)'.dependencies]
winapi = "0.3"
[badges]
maintenance = { status = "actively-developed" }