idl: Fix `unexpected_cfgs` build warning (#2992)
This commit is contained in:
parent
bcf3862ef7
commit
700cedd519
|
@ -35,6 +35,7 @@ The minor version will be incremented upon a breaking change and the patch versi
|
|||
- lang: Fix using optional accounts with `declare_program!` ([#2967](https://github.com/coral-xyz/anchor/pull/2967)).
|
||||
- lang: Fix instruction return type generation with `declare_program!` ([#2977](https://github.com/coral-xyz/anchor/pull/2977)).
|
||||
- cli: Fix IDL write getting corrupted from retries ([#2964](https://github.com/coral-xyz/anchor/pull/2964)).
|
||||
- idl: Fix `unexpected_cfgs` build warning ([#2992](https://github.com/coral-xyz/anchor/pull/2992)).
|
||||
|
||||
### Breaking
|
||||
|
||||
|
|
|
@ -35,3 +35,7 @@ thiserror = "1"
|
|||
|
||||
# `idl-build` feature only
|
||||
cargo_toml = { version = "0.19", optional = true }
|
||||
|
||||
# https://blog.rust-lang.org/2024/05/06/check-cfg.html#expecting-custom-cfgs
|
||||
[lints.rust]
|
||||
unexpected_cfgs = { level = "allow", check-cfg = ["cfg(procmacro2_semver_exempt)"] }
|
||||
|
|
Loading…
Reference in New Issue