Skip to content

Commit 7916bea

Browse files
committed
meta: Add a check-cfg for cfg(fuzzing)
1 parent dad0fb2 commit 7916bea

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

fuzz/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ afl = "0.15.10"
99
clap = { version = "4.1.13", features = ["derive"] }
1010
num-traits = "0.2.15"
1111
rustc_apfloat = { path = ".." }
12+
13+
[lints.rust]
14+
unexpected_cfgs = { level = "warn", check-cfg = [
15+
# Set by the fuzzer
16+
'cfg(fuzzing)',
17+
] }

0 commit comments

Comments
 (0)