Skip to content

Commit

Permalink
Allow cfg(compiletests)
Browse files Browse the repository at this point in the history
  • Loading branch information
TedDriggs committed Sep 11, 2024
1 parent 107bd5d commit 0b3b6bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions derive_builder/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ serde_json = "1"

[target.'cfg(compiletests)'.dev-dependencies]
trybuild = "1.0.38"

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(compiletests)'] }

0 comments on commit 0b3b6bd

Please sign in to comment.