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)); {