chore: do not crash when ark-ff or wasm_bindgen macros have cfg issues

This commit is contained in:
Arthur Meyre
2024-12-03 11:22:27 +01:00
parent 33131c664a
commit bdbec55e84
2 changed files with 5 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
#![allow(unexpected_cfgs)]
// This is a bug/unwanted behavior from ark-ff macro, for now warn instead of erroring
use ark_ec::bls12::{Bls12, Bls12Config, TwistType};
use ark_ff::fields::*;
use ark_ff::MontFp;