mirror of
https://github.com/zama-ai/tfhe-rs.git
synced 2026-01-09 22:57:59 -05:00
chore: do not crash when ark-ff or wasm_bindgen macros have cfg issues
This commit is contained in:
@@ -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_ec::bls12::{Bls12, Bls12Config, TwistType};
|
||||||
use ark_ff::fields::*;
|
use ark_ff::fields::*;
|
||||||
use ark_ff::MontFp;
|
use ark_ff::MontFp;
|
||||||
|
|||||||
@@ -347,4 +347,6 @@ unexpected_cfgs = { level = "warn", check-cfg = [
|
|||||||
'cfg(bench)',
|
'cfg(bench)',
|
||||||
'cfg(tarpaulin)',
|
'cfg(tarpaulin)',
|
||||||
'cfg(tfhe_lints)',
|
'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)',
|
||||||
] }
|
] }
|
||||||
|
|||||||
Reference in New Issue
Block a user