X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ci%2Fcheck-compiles.sh;h=2fe62be787ed60e95fe45af20651d3fc63843a42;hb=b1a941050801e3cfba58238463a2c7f33439ea6d;hp=9222f609cc082ced5a1ac3806e8c9b05c7531379;hpb=fba204b02ee4faece07a2ddf152f34507773ad4d;p=rust-lightning diff --git a/ci/check-compiles.sh b/ci/check-compiles.sh index 9222f609..2fe62be7 100755 --- a/ci/check-compiles.sh +++ b/ci/check-compiles.sh @@ -5,4 +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 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