From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Thu, 6 Jan 2022 19:25:36 +0000 (+0000) Subject: Merge pull request #1223 from lightning-signer/2021-12-invoice-nostd X-Git-Tag: v0.0.105~43 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b62b244c3c826523a81631037cd060bafef8e402;p=rust-lightning Merge pull request #1223 from lightning-signer/2021-12-invoice-nostd Adapt lightning-invoice to no_std --- b62b244c3c826523a81631037cd060bafef8e402 diff --cc .github/workflows/build.yml index 9b4621e47,5dcbb677e..002005f18 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@@ -115,9 -114,12 +115,14 @@@ 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 cd .. + cd lightning-invoice + 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 + cd .. - name: Test on no-std builds Rust ${{ matrix.toolchain }} and full code-linking for coverage generation if: "matrix.build-no-std && matrix.coverage" run: |