From 692b0c78daf432c1bcd6634f90ebf4324c3eb437 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 5 Jul 2021 18:13:16 +0000 Subject: [PATCH] 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. --- ci/check-compiles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/check-compiles.sh b/ci/check-compiles.sh index 2bc31007..193c2b4e 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 -- 2.30.2