Skip to content

Commit 692b0c7

Browse files
committed
Set cfg=fuzzing when building fuzz crate in CI
We will likely drop the fuzztarget feature soon, and should thus be setting cfg=fuzzing explicitly anyway.
1 parent 29b43ba commit 692b0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/check-compiles.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ echo Testing $(git log -1 --oneline)
55
cargo check
66
cargo doc
77
cargo doc --document-private-items
8-
cd fuzz && cargo check --features=stdin_fuzz
8+
cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo check --features=stdin_fuzz
99
cd ../lightning && cargo check --no-default-features --features=no-std

0 commit comments

Comments
 (0)