Windows: Increase wait timer resolution (#2007)

Windows: Increase wait timer resolution for more accurate timing when using `WaitUntil`.
This commit is contained in:
Markus Siglreithmaier
2021-11-02 21:51:39 +01:00
committed by GitHub
parent 5f4df54895
commit cfbe8462cc
3 changed files with 34 additions and 5 deletions

View File

@@ -81,6 +81,8 @@ features = [
"wingdi",
"winnt",
"winuser",
"mmsystem",
"timeapi"
]
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]