]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Add a c_bindings test to `check-compiles.sh` as it should build
authorMatt Corallo <git@bluematt.me>
Wed, 19 Jul 2023 18:39:31 +0000 (18:39 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 20 Jul 2023 21:43:52 +0000 (21:43 +0000)
ci/check-compiles.sh

index 193c2b4ef1fee74d6dbbdfdaee2c09bb86cc9197..af88bceee01127667377c294c69429ae0c2e4630 100755 (executable)
@@ -7,3 +7,4 @@ cargo doc
 cargo doc --document-private-items
 cd fuzz && RUSTFLAGS="--cfg=fuzzing" 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