Merge pull request #3113 from TheBlueMatt/2024-04-async-monitor-fuzz
[rust-lightning] / ci / check-compiles.sh
index 45ade5c6a1e1d321f3205f0372d9e548af268bbe..2fe62be787ed60e95fe45af20651d3fc63843a42 100755 (executable)
@@ -4,4 +4,7 @@ set -x
 echo Testing $(git log -1 --oneline)
 cargo check
 cargo doc
-cd fuzz && cargo check --features=stdin_fuzz
+cargo doc --document-private-items
+cd fuzz && RUSTFLAGS="--cfg=fuzzing --cfg=secp256k1_fuzz --cfg=hashes_fuzz" cargo check --features=stdin_fuzz
+cd ../lightning && cargo check --no-default-features --features=no-std
+cd .. && RUSTC_BOOTSTRAP=1 RUSTFLAGS="--cfg=c_bindings" cargo check -Z avoid-dev-deps