From 084f0c3fb5aa9e51a24afdf37e7f09593e08e07b Mon Sep 17 00:00:00 2001 From: Nicole Date: Fri, 10 Jan 2025 18:46:32 -0300 Subject: [PATCH] fix cargo test metal --- provers/stark/src/tests/integration_tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/provers/stark/src/tests/integration_tests.rs b/provers/stark/src/tests/integration_tests.rs index c45193787..c16e8d6ff 100644 --- a/provers/stark/src/tests/integration_tests.rs +++ b/provers/stark/src/tests/integration_tests.rs @@ -1,10 +1,10 @@ -//#[cfg(not(feature = "metal"))] +#[cfg(not(feature = "metal"))] use lambdaworks_crypto::fiat_shamir::default_transcript::DefaultTranscript; use lambdaworks_math::field::{ element::FieldElement, fields::fft_friendly::stark_252_prime_field::Stark252PrimeField, }; -//#[cfg(not(feature = "metal"))] +#[cfg(not(feature = "metal"))] use lambdaworks_math::field::fields::fft_friendly::{ babybear::Babybear31PrimeField, quartic_babybear::Degree4BabyBearExtensionField, }; @@ -28,7 +28,7 @@ use crate::{ Felt252, }; -//#[cfg(not(feature = "metal"))] +#[cfg(not(feature = "metal"))] use crate::examples::read_only_memory_logup::{ read_only_logup_trace, LogReadOnlyPublicInputs, LogReadOnlyRAP, }; @@ -307,8 +307,8 @@ fn test_prove_read_only_memory() { )); } +#[cfg(not(feature = "metal"))] #[test_log::test] -//#[cfg(not(feature = "metal"))] fn test_prove_log_read_only_memory() { let address_col = vec![ FieldElement::::from(3), // a0