From ab4d981982a2dfdecc3c6fd76edfcc2983d16f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Gonz=C3=A1lez=20Calder=C3=B3n?= Date: Thu, 12 Dec 2024 11:10:09 -0300 Subject: [PATCH] Fix clippy --- replay/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/replay/src/main.rs b/replay/src/main.rs index ec8584c..ac69497 100644 --- a/replay/src/main.rs +++ b/replay/src/main.rs @@ -183,6 +183,7 @@ fn main() { // We pause the main thread to differentiate // caching from benchmarking from within a profiler + #[cfg(feature = "profiling")] thread::sleep(Duration::from_secs(1)); { @@ -248,7 +249,7 @@ fn main() { // We pause the main thread to differentiate // caching from benchmarking from within a profiler - #[cfg(profiling)] + #[cfg(feature = "profiling")] thread::sleep(Duration::from_secs(1)); {