From de8b892259ffe340339f219a1d27602e2bf69d1a Mon Sep 17 00:00:00 2001 From: Alexander Camuto Date: Fri, 1 Sep 2023 16:28:37 +0100 Subject: [PATCH] patch for wasm --- halo2_proofs/src/plonk/lookup/prover.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/halo2_proofs/src/plonk/lookup/prover.rs b/halo2_proofs/src/plonk/lookup/prover.rs index a8494cb78b..cac38fc8d0 100644 --- a/halo2_proofs/src/plonk/lookup/prover.rs +++ b/halo2_proofs/src/plonk/lookup/prover.rs @@ -412,9 +412,11 @@ fn permute_expression_pair<'params, C: CurveAffine, P: Params<'params, C>, R: Rn table_expression, ); }*/ + #[cfg(not(target_arch = "wasm32"))] let start = std::time::Instant::now(); let res = permute_expression_pair_par(pk, params, domain, rng, input_expression, table_expression); + #[cfg(not(target_arch = "wasm32"))] dbg!(start.elapsed()); res }