From 215ed141e770d738030a4e0e4ed128fb08b2cb7d Mon Sep 17 00:00:00 2001 From: Stefan Holderbach Date: Thu, 2 Feb 2023 23:07:35 +0100 Subject: [PATCH] Fix code in benchmarks (#7949) # Description Broken after #7415 We currently don't try to build the benchmarks in the CI thus this slipped through the cracks. # User-Facing Changes None # Tests + Formatting Compile check is currently missing, but working towards that --- benches/benchmarks.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/benches/benchmarks.rs b/benches/benchmarks.rs index d7695e31f7..87932fc29a 100644 --- a/benches/benchmarks.rs +++ b/benches/benchmarks.rs @@ -46,6 +46,7 @@ fn parser_benchmarks(c: &mut Criterion) { get_default_env().as_bytes(), "default_env.nu", PipelineData::empty(), + false, ) }) }); @@ -65,6 +66,7 @@ fn parser_benchmarks(c: &mut Criterion) { get_default_config().as_bytes(), "default_config.nu", PipelineData::empty(), + false, ) }) }); @@ -81,6 +83,7 @@ fn eval_benchmarks(c: &mut Criterion) { get_default_env().as_bytes(), "default_env.nu", PipelineData::empty(), + false, ) }) }); @@ -100,6 +103,7 @@ fn eval_benchmarks(c: &mut Criterion) { get_default_config().as_bytes(), "default_config.nu", PipelineData::empty(), + false, ) }) });