mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-02 17:11:28 +00:00
Fix user and kernel times on Windows
This commit is contained in:
1 parent
6c0ec317ea
commit
ac8c114c80
5 files changed
+123
-54
No files matched your search
+6
-1
@@ -11,6 +11,10 @@ version = "1.14.0"
|
||||
edition = "2018"
|
||||
build = "build.rs"
|
||||
|
||||
[features]
|
||||
# Use the nightly feature windows_process_extensions_main_thread_handle
|
||||
windows_process_extensions_main_thread_handle = []
|
||||
|
||||
[dependencies]
|
||||
colored = "2.0"
|
||||
indicatif = "0.16"
|
||||
@@ -29,7 +33,8 @@ anyhow = "1.0"
|
||||
libc = "0.2"
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
winapi = { version = "0.3", features = ["processthreadsapi", "minwindef", "winnt"] }
|
||||
winapi = { version = "0.3", features = ["processthreadsapi", "minwindef", "winnt", "jobapi2", "tlhelp32"] }
|
||||
once_cell = "1.13"
|
||||
|
||||
[target.'cfg(target_os="linux")'.dependencies]
|
||||
nix = { version = "0.24.2", features = ["zerocopy"] }
|
||||
|
||||
Reference in new issue
Block a user