Whitelist known cfgs
Rust is now checking cfg attributes for typos but this interferes with our cfgs that rustc/cargo don't recognize. This whitelists them so they no longer produce warnings.
This commit is contained in:
parent
05a4e3963c
commit
614fe81708
|
@ -54,6 +54,8 @@ bincode = "1.3.3"
|
||||||
wasm-bindgen-test = "0.3"
|
wasm-bindgen-test = "0.3"
|
||||||
getrandom = { version = "0.2", features = ["js"] }
|
getrandom = { version = "0.2", features = ["js"] }
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)', 'cfg(secp256k1_fuzz)', 'cfg(rust_secp_no_symbol_renaming)'] }
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
name = "sign_verify_recovery"
|
name = "sign_verify_recovery"
|
||||||
|
|
|
@ -32,3 +32,6 @@ recovery = []
|
||||||
lowmemory = []
|
lowmemory = []
|
||||||
std = ["alloc"]
|
std = ["alloc"]
|
||||||
alloc = []
|
alloc = []
|
||||||
|
|
||||||
|
[lints.rust]
|
||||||
|
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(bench)', 'cfg(secp256k1_fuzz)', 'cfg(rust_secp_no_symbol_renaming)'] }
|
||||||
|
|
Loading…
Reference in New Issue