diff --git a/examples/demo.rs b/examples/demo.rs index 60b0087..98b6d5e 100644 --- a/examples/demo.rs +++ b/examples/demo.rs @@ -28,6 +28,7 @@ pub fn main() { flame::end("render"); flame::dump_html(&mut File::create("out.html").unwrap()).unwrap(); + #[cfg(feature = "json")] flame::dump_json(&mut File::create("out.json").unwrap()).unwrap(); flame::dump_stdout(); }