diff options
author | Griffin Smith <root@gws.fyi> | 2022-09-02T18·51-0400 |
---|---|---|
committer | grfn <grfn@gws.fyi> | 2022-09-02T19·10+0000 |
commit | 29f8f06319ea59ed39d4e0ef566ec79b3a1387cd (patch) | |
tree | aa779aa3414a79fd98651cb3c4afbb44d2f1efde /tvix/eval/benches | |
parent | b29ab1776b09ac2aad06ebe78bee58852b3bc8b4 (diff) |
fix(tvix/eval): Fix build of benchmarks r/4603
Interpret was updated to take an optional path arg in 6fe5e2d75 (feat(tvix/eval): resolve relative path literals, 2022-08-12), but since benchmarks aren't building in CI the resulting breakage of benchmarks was missed. Change-Id: I8a93f1b25ae62e2d032fafc153d91977c6466712 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6284 Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/benches')
-rw-r--r-- | tvix/eval/benches/eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/benches/eval.rs b/tvix/eval/benches/eval.rs index a97adf02db50..a05c04f03e29 100644 --- a/tvix/eval/benches/eval.rs +++ b/tvix/eval/benches/eval.rs @@ -2,7 +2,7 @@ use criterion::{black_box, criterion_group, criterion_main, Criterion}; use tvix_eval::interpret; fn eval_literals(c: &mut Criterion) { - c.bench_function("int", |b| b.iter(|| black_box(interpret("42")))); + c.bench_function("int", |b| b.iter(|| black_box(interpret("42", None)))); } criterion_group!(benches, eval_literals); |