X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ci%2Fcheck-compiles.sh;h=2fe62be787ed60e95fe45af20651d3fc63843a42;hb=d74c143afe2244c39c66adef0dd13e64bdcf6681;hp=177765fb9255fcd45c5d7b76be5f80a64dc8fd08;hpb=e9d3033e5caae5d708b52270416fff1973253d39;p=rust-lightning diff --git a/ci/check-compiles.sh b/ci/check-compiles.sh index 177765fb..2fe62be7 100755 --- a/ci/check-compiles.sh +++ b/ci/check-compiles.sh @@ -3,4 +3,8 @@ set -e set -x echo Testing $(git log -1 --oneline) cargo check -cd fuzz && cargo check --features=stdin_fuzz +cargo doc +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