X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ci%2Fcheck-compiles.sh;h=2fe62be787ed60e95fe45af20651d3fc63843a42;hb=d74c143afe2244c39c66adef0dd13e64bdcf6681;hp=79c2d92b761ce409cc31fda64d3667bc29bf1cfe;hpb=96a738aa5379d5993a7881203c5a643cff3e7933;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