From d6c84fc1c0e24b91f8faf73868a89be730513414 Mon Sep 17 00:00:00 2001 From: Olivier Giniaux Date: Thu, 1 Aug 2024 14:27:53 +0200 Subject: [PATCH] Fix feature check for benchmark svg output --- benches/throughput/result_processor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/throughput/result_processor.rs b/benches/throughput/result_processor.rs index 2b15546..aef26cc 100644 --- a/benches/throughput/result_processor.rs +++ b/benches/throughput/result_processor.rs @@ -120,7 +120,7 @@ impl ResultProcessor for OutputPlot { fn finish(&self) { let mut arch = std::env::consts::ARCH.to_string(); - if cfg!(hybrid) { + if cfg!(feature = "hybrid") { arch += "-hybrid"; } let file_name = format!("benches/throughput/{}.svg", arch);