mirror of
https://github.com/sharkdp/hyperfine.git
synced 2026-11-01 08:50:19 +00:00
Initial working version with child proc HANDLE.
Still very ugly, and more work needs to be done to make it all pretty again. Additionally, cleaned up all the cfg attrs to shor version
This commit is contained in:
1 parent
79c375af0f
commit
9753eed85b
5 files changed
+72
-23
No files matched your search
+3
-3
@@ -5,10 +5,10 @@ extern crate colored;
|
||||
extern crate indicatif;
|
||||
extern crate statistical;
|
||||
|
||||
#[cfg(not(target_os = "windows"))]
|
||||
#[cfg(not(windows))]
|
||||
extern crate libc;
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
#[cfg(windows)]
|
||||
extern crate winapi;
|
||||
|
||||
#[cfg(test)]
|
||||
@@ -149,7 +149,7 @@ fn main() {
|
||||
OutputStyleOption::Basic
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
if options.output_style == OutputStyleOption::Basic {
|
||||
colored::control::set_override(false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user