We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0012e68 commit 3986f87Copy full SHA for 3986f87
1 file changed
src/run/runner/wall_time/executor.rs
@@ -18,7 +18,17 @@ pub struct WallTimeExecutor {
18
19
impl WallTimeExecutor {
20
pub fn new() -> Self {
21
+ log::info!(
22
+ "target_os: {} and is_linux: {}",
23
+ std::env::consts::OS,
24
+ cfg!(target_os = "linux")
25
+ );
26
+
27
let use_perf = if cfg!(target_os = "linux") {
28
29
+ "CODSPEED_USE_PERF: {}",
30
+ std::env::var("CODSPEED_USE_PERF").is_ok()
31
32
std::env::var("CODSPEED_USE_PERF").is_ok()
33
} else {
34
false
0 commit comments