From 871c63fd021faeb24a49f6ad2fd8a68126911afa Mon Sep 17 00:00:00 2001 From: Aumetra Weisman Date: Tue, 7 May 2024 14:03:02 +0200 Subject: [PATCH] Gate tests behind `std` feature --- packages/crypto/src/bls12_318/constants.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/crypto/src/bls12_318/constants.rs b/packages/crypto/src/bls12_318/constants.rs index 62dad87cf9..9ee0f4ad68 100644 --- a/packages/crypto/src/bls12_318/constants.rs +++ b/packages/crypto/src/bls12_318/constants.rs @@ -23,7 +23,7 @@ pub const BLS12_381_G2_GENERATOR: [u8; BLS12_381_G2_POINT_LEN] = [ 5, 187, 239, 212, 128, 86, 200, 193, 33, 189, 184, ]; -#[cfg(test)] +#[cfg(all(test, feature = "std"))] mod test { use ark_bls12_381::{G1Affine, G2Affine}; use ark_ec::AffineRepr;