From c1d2857b8e237275536eeaedbc4e1317a29ed10c Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 6 Oct 2023 23:14:44 +0000 Subject: [PATCH] Pin memchr to meet MSRVs during builds --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2afaaa91..e00fdea5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,6 +45,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Rebuild C bindings without STD run: | cd ldk-c-bindings @@ -139,6 +141,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Pin proc-macro and quote to meet MSRV run: | cd ldk-c-bindings/c-bindings-gen @@ -200,6 +204,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Pin proc-macro and quote to meet MSRV run: | cd ldk-c-bindings/c-bindings-gen @@ -452,6 +458,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Checkout Android AAR binaries and artifacts run: | # Gitweb only allows snapshots of folders by providing the object hash, which we have to extract: @@ -525,6 +533,8 @@ jobs: git clone https://github.com/lightningdevkit/ldk-c-bindings cd ldk-c-bindings git checkout 0.0.117 + cd lightning-c-bindings + cargo update -p memchr --precise "2.5.0" --verbose - name: Rebuild C bindings and check the sample app builds + links run: | cd ldk-c-bindings -- 2.39.5