X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ci%2Fcheck-compiles.sh;h=2fe62be787ed60e95fe45af20651d3fc63843a42;hb=73263348ba55c976fa8e17b8c3cf71bc6f117568;hp=79c2d92b761ce409cc31fda64d3667bc29bf1cfe;hpb=94528f00f57a9ce19fe94d0d4b938cafa3bbe697;p=rust-lightning diff --git a/ci/check-compiles.sh b/ci/check-compiles.sh index 79c2d92b..2fe62be7 100755 --- a/ci/check-compiles.sh +++ b/ci/check-compiles.sh @@ -5,5 +5,6 @@ echo Testing $(git log -1 --oneline) cargo check cargo doc cargo doc --document-private-items -cd fuzz && cargo check --features=stdin_fuzz -cd ../lightning && cargo check --no-default-features --features=no_std +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