From 6bf2b10b039c79d3739f04ad8db3a2cd5d53f507 Mon Sep 17 00:00:00 2001 From: dark64 Date: Wed, 3 Apr 2024 19:38:45 +0200 Subject: [PATCH] move common import out of feature block --- zokrates_ast/src/common/embed.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zokrates_ast/src/common/embed.rs b/zokrates_ast/src/common/embed.rs index de5d3ad07..72dbd9505 100644 --- a/zokrates_ast/src/common/embed.rs +++ b/zokrates_ast/src/common/embed.rs @@ -2,7 +2,7 @@ use crate::common::{ flat::{Parameter, Variable}, RuntimeError, Solver, }; -use crate::flat::flat_expression_from_bits; +use crate::flat::{flat_expression_from_bits, flat_expression_from_variable_summands}; use crate::flat::{FlatDirective, FlatExpression, FlatFunctionIterator, FlatStatement}; use crate::typed::types::{ ConcreteGenericsAssignment, DeclarationConstant, DeclarationSignature, DeclarationType, @@ -23,7 +23,6 @@ cfg_if::cfg_if! { if #[cfg(feature = "bellman")] { use pairing_ce::bn256::Bn256; use zokrates_embed::{bellman::{from_bellman, generate_sha256_round_constraints}}; - use crate::flat::flat_expression_from_variable_summands; } }