0e8a1a40f2
Add support for 'std::time::Instant' in Windows Add support for creating `std::time::Instant` in Windows Includes shims for `QueryPerformanceCounter` & `QueryPerformanceFrequency` in Windows, which are both called in Windows when `std::time::Instant` is created. Windows docs page ["Acquiring high-resolution time stamps"](https://docs.microsoft.com/en-us/windows/win32/sysinfo/acquiring-high-resolution-time-stamps) was helpful in learning how `QueryPerformanceCounter` & `QueryPerformanceFrequency` work. closes #1291 |
||
---|---|---|
.. | ||
compile-fail | ||
run-pass | ||
compiletest.rs |