Skip to content

Commit 871c63f

Browse files
committed
Gate tests behind std feature
1 parent 2b0a7e3 commit 871c63f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/crypto/src/bls12_318/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub const BLS12_381_G2_GENERATOR: [u8; BLS12_381_G2_POINT_LEN] = [
2323
5, 187, 239, 212, 128, 86, 200, 193, 33, 189, 184,
2424
];
2525

26-
#[cfg(test)]
26+
#[cfg(all(test, feature = "std"))]
2727
mod test {
2828
use ark_bls12_381::{G1Affine, G2Affine};
2929
use ark_ec::AffineRepr;

0 commit comments

Comments
 (0)