mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-10-28 08:08:58 +00:00
Remove winnt feature, not needed.
This commit is contained in:
1 parent
5eaa6d8dff
commit
79c375af0f
2 files changed
+2
-1
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ atty = "0.2.2"
|
||||
libc = "0.2"
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = { version = "0.3.4", features = [ "processthreadsapi", "minwindef", "winnt"] }
|
||||
winapi = { version = "0.3.4", features = [ "processthreadsapi", "minwindef"] }
|
||||
|
||||
[dependencies.clap]
|
||||
version = "2"
|
||||
|
||||
@@ -50,6 +50,7 @@ fn get_cpu_times() -> CPUTimes {
|
||||
|
||||
// Winapi reports times as per 100 nanosecond
|
||||
const HUNDRED_NS_PER_MS: i64 = 10;
|
||||
|
||||
let mut _ctime = FILETIME {
|
||||
dwLowDateTime: 0,
|
||||
dwHighDateTime: 0,
|
||||
|
||||
Reference in new issue
Block a user