make imports conditional on config

This commit is contained in:
Nicholas Ward 2023-07-31 16:37:02 -07:00
parent 8432195517
commit f574effe17

View File

@ -4,7 +4,9 @@
//! `poseidon_constants.sage` script in the `mir-protocol/hash-constants`
//! repository.
#[cfg(target_arch="x86_64")]
use plonky2_field::types::Field;
#[cfg(target_arch="x86_64")]
use unroll::unroll_for_loops;
use crate::field::goldilocks_field::GoldilocksField;