zkcrypto / bls12_381

Implementation of the BLS12-381 pairing-friendly elliptic curve group
Other
304 stars 178 forks source link

Fix wasm32 targets #47

Closed str4d closed 4 years ago

str4d commented 4 years ago

This PR changes the type of PrimeField::ReprBits on non-64-bit targets, which would normally be a breaking change, but as the crate cannot be compiled for those targets, and this change fixes that bug, I think a point release is a better option. The type of PrimeField::ReprBits on 64-bit targets is unaltered.