diff --git a/tfhe-zk-pok/src/curve_446/mod.rs b/tfhe-zk-pok/src/curve_446/mod.rs index fd60ddb50f..782b0dbf4b 100644 --- a/tfhe-zk-pok/src/curve_446/mod.rs +++ b/tfhe-zk-pok/src/curve_446/mod.rs @@ -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; diff --git a/tfhe/Cargo.toml b/tfhe/Cargo.toml index 5ed2875a7d..f6519a34d6 100644 --- a/tfhe/Cargo.toml +++ b/tfhe/Cargo.toml @@ -347,4 +347,6 @@ unexpected_cfgs = { level = "warn", check-cfg = [ 'cfg(bench)', 'cfg(tarpaulin)', 'cfg(tfhe_lints)', + # This is a bug/unwanted behavior from wasm_bindgen macro, for now warn instead of erroring + 'cfg(wasm_bindgen_unstable_test_coverage)', ] }