Implement clock_time_get on Windows (#119)

* Fix some Windows warnings.

* Implement clock_time_get on Windows.

Also update misc_testsuite to include latest clock_time_get test
changes.

* improve comments

* Remove a leftover import.

Co-Authored-By: Jakub Konka <kubkon@jakubkonka.com>
This commit is contained in:
Marcin Mielniczuk
2019-10-29 15:05:43 +01:00
committed by Jakub Konka
parent bb5c879718
commit 2659641132
6 changed files with 82 additions and 37 deletions

View File

@@ -27,6 +27,7 @@ rand = "0.7"
cfg-if = "0.1.9"
log = "0.4"
filetime = "0.2.7"
lazy_static = "1.4.0"
[target.'cfg(unix)'.dependencies]
nix = "0.15"
@@ -34,6 +35,8 @@ nix = "0.15"
[target.'cfg(windows)'.dependencies]
winx = { path = "winx", version = "0.4.0" }
winapi = "0.3"
cpu-time = "1.0"
[dev-dependencies]
wasmtime-runtime = { git = "https://github.com/cranestation/wasmtime", rev = "875eea6" }