From f574effe17c0900d86584afd692e3b1f03fd2605 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Mon, 31 Jul 2023 16:37:02 -0700 Subject: [PATCH] make imports conditional on config --- plonky2/src/hash/poseidon_goldilocks.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plonky2/src/hash/poseidon_goldilocks.rs b/plonky2/src/hash/poseidon_goldilocks.rs index 0d03b3e9..923b1b20 100644 --- a/plonky2/src/hash/poseidon_goldilocks.rs +++ b/plonky2/src/hash/poseidon_goldilocks.rs @@ -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;