mirror of
https://github.com/arnaucube/circom-compat.git
synced 2026-01-07 22:41:32 +01:00
fix: compilation warnings
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
use std::{collections::HashMap, f32::consts::E};
|
||||
use std::collections::HashMap;
|
||||
|
||||
use ark_ff::PrimeField;
|
||||
use ark_relations::r1cs::{
|
||||
self, ConstraintSynthesizer, ConstraintSystemRef, LinearCombination, SynthesisError, Variable,
|
||||
ConstraintSynthesizer, ConstraintSystemRef, LinearCombination, SynthesisError, Variable,
|
||||
};
|
||||
|
||||
use color_eyre::Result;
|
||||
|
||||
@@ -28,6 +28,7 @@ pub trait Circom {
|
||||
fn get_ptr_raw_prime(&self) -> Result<u32>;
|
||||
}
|
||||
|
||||
#[cfg(feature = "circom-2")]
|
||||
pub trait Circom2 {
|
||||
fn get_field_num_len32(&self) -> Result<u32>;
|
||||
fn get_raw_prime(&self) -> Result<()>;
|
||||
|
||||
Reference in New Issue
Block a user