X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;fp=.github%2Fworkflows%2Fbuild.yml;h=49b857c39fd93d1f09c1bf8c35df75f1591c2a57;hb=a126a4e44a6bff4d037a340b6b6079528abab730;hp=be52e05776cec547342fdae0eedf4777eb41bfd2;hpb=5b5908ab2d8fe7f8e7f55dd81d323b83f2a51b84;p=rust-lightning diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be52e057..49b857c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,6 +127,8 @@ jobs: cargo test --verbose --color always --no-default-features --features no-std # check if there is a conflict between no-std and the default std feature cargo test --verbose --color always --features no-std + # check if there is a conflict between no-std and the c_bindings cfg + RUSTFLAGS="--cfg=c_bindings" cargo test --verbose --color always --no-default-features --features=no-std # check no-std compatibility across dependencies cd .. cd no-std-check