about summary refs log tree commit diff
path: root/tvix/Cargo.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-07-31T15·50+0200
committerflokli <flokli@flokli.de>2023-10-16T12·26+0000
commit652afd21b39fe7aabe81bb948ba4ba490422070d (patch)
tree0458322f24934e39a7635b53a98fceff0f3d2b2f /tvix/Cargo.nix
parentc3fad811f4ad19eaa7c1a258b7a3188cda10da92 (diff)
feat(nix-compat): add bench for aterm parsing r/6835
Change-Id: Ie9416f0046b6ee0a02096a7712cdba9cc84db4f6
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9733
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Reviewed-by: Gabriel Doriath Döhler <gabriel.doriath.dohler@ens.fr>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/Cargo.nix')
-rw-r--r--tvix/Cargo.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix
index 49c3042e61fd..7710f3afdf0a 100644
--- a/tvix/Cargo.nix
+++ b/tvix/Cargo.nix
@@ -1636,7 +1636,7 @@ rec {
           "stable" = [ "csv_output" "html_reports" "async_futures" "async_smol" "async_tokio" "async_std" ];
           "tokio" = [ "dep:tokio" ];
         };
-        resolvedDefaultFeatures = [ "cargo_bench_support" "default" "plotters" "rayon" ];
+        resolvedDefaultFeatures = [ "cargo_bench_support" "default" "html_reports" "plotters" "rayon" ];
       };
       "criterion-plot" = rec {
         crateName = "criterion-plot";
@@ -4231,6 +4231,11 @@ rec {
         ];
         devDependencies = [
           {
+            name = "criterion";
+            packageId = "criterion";
+            features = [ "html_reports" ];
+          }
+          {
             name = "futures";
             packageId = "futures";
             usesDefaultFeatures = false;