From: Matt Corallo Date: Mon, 5 Jul 2021 18:13:16 +0000 (+0000) Subject: Set cfg=fuzzing when building fuzz crate in CI X-Git-Tag: v0.0.100~3^2~7 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=692b0c78daf432c1bcd6634f90ebf4324c3eb437;p=rust-lightning 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. --- diff --git a/ci/check-compiles.sh b/ci/check-compiles.sh index 2bc31007b..193c2b4ef 100755 --- a/ci/check-compiles.sh +++ b/ci/check-compiles.sh @@ -5,5 +5,5 @@ echo Testing $(git log -1 --oneline) cargo check cargo doc cargo doc --document-private-items -cd fuzz && cargo check --features=stdin_fuzz +cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo check --features=stdin_fuzz cd ../lightning && cargo check --no-default-features --features=no-std